Skip to content

Commit 5d72a46

Browse files
committed
Remove unnecessary cast
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1149651 13f79535-47bb-0310-9956-ffa450edef68
1 parent c4d54bc commit 5d72a46

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/org/apache/commons/codec/StringEncoderComparatorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public void testComparatorWithDoubleMetaphone() throws Exception {
5757

5858
Collections.sort(testList, sCompare);
5959

60-
String[] resultArray = (String[]) testList.toArray(new String[0]);
60+
String[] resultArray = testList.toArray(new String[0]);
6161

6262
for (int i = 0; i < resultArray.length; i++) {
6363
assertEquals("Result Array not Equal to Control Array at index: " + i, controlArray[i], resultArray[i]);

0 commit comments

Comments
 (0)