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:
Thomas Neidhart 2013-06-23 18:26:33 +00:00
parent 834a75f8ea
commit f36d6870f2
1 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ public class IteratorUtilsTest extends BulkTest {
} }
try { try {
iterator = IteratorUtils.arrayIterator(null); iterator = IteratorUtils.arrayIterator((Object[]) null);
fail("Expecting NullPointerException"); fail("Expecting NullPointerException");
} catch (final NullPointerException ex) { } catch (final NullPointerException ex) {
// expected // expected
@ -294,7 +294,7 @@ public class IteratorUtilsTest extends BulkTest {
} }
try { try {
iterator = IteratorUtils.arrayListIterator(null); iterator = IteratorUtils.arrayListIterator((Object[]) null);
fail("Expecting NullPointerException"); fail("Expecting NullPointerException");
} catch (final NullPointerException ex) { } catch (final NullPointerException ex) {
// expected // expected