commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1149651 - /commons/proper/codec/trunk/src/test/org/apache/commons/codec/StringEncoderComparatorTest.java
Date Fri, 22 Jul 2011 17:02:40 GMT
Author: sebb
Date: Fri Jul 22 17:02:40 2011
New Revision: 1149651

URL: http://svn.apache.org/viewvc?rev=1149651&view=rev
Log:
Remove unnecessary cast

Modified:
    commons/proper/codec/trunk/src/test/org/apache/commons/codec/StringEncoderComparatorTest.java

Modified: commons/proper/codec/trunk/src/test/org/apache/commons/codec/StringEncoderComparatorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/org/apache/commons/codec/StringEncoderComparatorTest.java?rev=1149651&r1=1149650&r2=1149651&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/test/org/apache/commons/codec/StringEncoderComparatorTest.java
(original)
+++ commons/proper/codec/trunk/src/test/org/apache/commons/codec/StringEncoderComparatorTest.java
Fri Jul 22 17:02:40 2011
@@ -57,7 +57,7 @@ public class StringEncoderComparatorTest
 
         Collections.sort(testList, sCompare);
 
-        String[] resultArray = (String[]) testList.toArray(new String[0]);
+        String[] resultArray = testList.toArray(new String[0]);
 
         for (int i = 0; i < resultArray.length; i++) {
             assertEquals("Result Array not Equal to Control Array at index: " + i, controlArray[i],
resultArray[i]);



Mime
View raw message