Fixed in SVN and added a unit test to match.
My bad for not checking that a unit test was in place before mod'ing.
Thanks Stephen for catching this.
Gary
> -Original Message-
> From: Stephen Colebourne [mailto:[EMAIL PROTECTED]
> Sent: Sunday, August 21, 2005 12:51 PM
> To: Jakarta Comm
[EMAIL PROTECTED] wrote:
Unnecessary cast from char[] to char[].
StrTokenizer cloned = (StrTokenizer) super.clone();
if (cloned.chars != null) {
-cloned.chars = (char[]) cloned.chars;
+cloned.chars = cloned.chars;
}