commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r234327 - /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
Date Sun, 21 Aug 2005 19:38:58 GMT
Author: ggregory
Date: Sun Aug 21 12:38:56 2005
New Revision: 234327

URL: http://svn.apache.org/viewcvs?rev=234327&view=rev
Log:
Unnecessary cast from char[] to char[].

Modified:
    jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java

Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java?rev=234327&r1=234326&r2=234327&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
(original)
+++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
Sun Aug 21 12:38:56 2005
@@ -1056,7 +1056,7 @@
         try {
             StrTokenizer cloned = (StrTokenizer) super.clone();
             if (cloned.chars != null) {
-                cloned.chars = (char[]) cloned.chars;
+                cloned.chars = cloned.chars;
             }
             cloned.reset();
             return cloned;



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message