Re: [lang] CloneUtils

2005-06-05 Thread Shaun Kalley
atch (IOException ignored) { } } } } Kevin Gessner wrote: Thanks Shaun - I'd be happy to have the code if you'll send it along. Kevin On 6/4/05, Shaun Kalley <[EMAIL PROTECTED]> wrote: The only substantial difference in my code is a shortcut to return null if the object is null. (S

Re: [lang] CloneUtils

2005-06-04 Thread Shaun Kalley
The only substantial difference in my code is a shortcut to return null if the object is null. (Sorry to send two replies!) Shaun James Carman wrote: SerializationUtils already has a clone() method. Is your code different from that? -Original Message- From: Shaun Kalley [mailto

Re: [lang] CloneUtils

2005-06-04 Thread Shaun Kalley
Pretty much the same, except contained in a single method rather than split among several. Shaun James Carman wrote: SerializationUtils already has a clone() method. Is your code different from that? -Original Message- From: Shaun Kalley [mailto:[EMAIL PROTECTED] Sent: Saturday

Re: [lang] CloneUtils

2005-06-04 Thread Shaun Kalley
Hi, Kevin and everyone, I've got code for cloning serializable objects that I'd be happy to contribute to the project. Let me know if you'd like it as a starting point. Thanks, Shaun Kalley Kevin Gessner wrote: Hello all, In the interest of jumping feet first into co

[PATCH] [lang] Performance boost for RandomNumberUtils

2005-06-01 Thread Shaun Kalley
This patch replaces the StringBuffer used in RandomStringUtils with a char array, resulting in a significant performance increase (better than 30% by my testing). It doesn't change the existing API, and it passes the provided unit tests. Thanks, Shaun Kalley Index: trunk/src/java/org/a