[lang] common-lang3 mvn repo

2010-11-04 Thread JammyZ
Hi, I am using the 3.0-SNAPSHOT of commons-lang3 and it seems like something changed in the repository yesterday. See the dates at https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-lang3/3.0-SNAPSHOT/ However the version has not changed, it is the same

[math] complex[][] clone problem

2010-11-04 Thread Cuong P. Nguyen
Hi, I might have a trivial problem and hope some of you can explain. Here is the source code I used, where I wanted to clone c Complex[][] object to Complex[][] d. The problem is when c matrix is updated, d is also updated which I did not expect. I expect d to stay the same when c is updated.

RE: [math] complex[][] clone problem

2010-11-04 Thread Dean
iirc clone by default returns a shallow copy, so what you end up doing is creating a refrence to the object in question. I know that is the default behaviour with non-primatives. You should override clone to perform a deep copy if thats what you need, or use a copy constructor. ~Dean On Thu,

[pool] Smart (aka auto-configure) pools

2010-11-04 Thread Steven Siebert
First, Paul, nice presentation at ApacheCon =) I came up after the discussion to mention a feature I added to my pool implementation, wanted to record this here and get community thoughts. What I have done for a customer (non-releasable, but I can re-implement much cleaner) was essentially

Re: [lang] common-lang3 mvn repo

2010-11-04 Thread Dennis Lundberg
On 2010-11-04 11:18, JammyZ wrote: Hi, I am using the 3.0-SNAPSHOT of commons-lang3 and it seems like something changed in the repository yesterday. See the dates at https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-lang3/3.0-SNAPSHOT/ However