Fix warning in test class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1495866 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
834a75f8ea
commit
f36d6870f2
|
@ -165,7 +165,7 @@ public class IteratorUtilsTest extends BulkTest {
|
|||
}
|
||||
|
||||
try {
|
||||
iterator = IteratorUtils.arrayIterator(null);
|
||||
iterator = IteratorUtils.arrayIterator((Object[]) null);
|
||||
fail("Expecting NullPointerException");
|
||||
} catch (final NullPointerException ex) {
|
||||
// expected
|
||||
|
@ -294,7 +294,7 @@ public class IteratorUtilsTest extends BulkTest {
|
|||
}
|
||||
|
||||
try {
|
||||
iterator = IteratorUtils.arrayListIterator(null);
|
||||
iterator = IteratorUtils.arrayListIterator((Object[]) null);
|
||||
fail("Expecting NullPointerException");
|
||||
} catch (final NullPointerException ex) {
|
||||
// expected
|
||||
|
|
Loading…
Reference in New Issue