No cast needed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026189 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
19fcdb2971
commit
6f7691f90b
|
@ -71,7 +71,7 @@ public class TestIteratorUtils extends BulkTest {
|
|||
list.add("One");
|
||||
list.add("Two");
|
||||
list.add(null);
|
||||
String[] result = (String[]) IteratorUtils.toArray(list.iterator(), String.class);
|
||||
String[] result = IteratorUtils.toArray(list.iterator(), String.class);
|
||||
assertEquals(list, Arrays.asList(result));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue