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:
Sebastian Bazley 2010-10-22 01:17:43 +00:00
parent 19fcdb2971
commit 6f7691f90b
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}