From f36d6870f2e1feef7f1d6fffeda056fa72c051f5 Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Sun, 23 Jun 2013 18:26:33 +0000 Subject: [PATCH] Fix warning in test class. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1495866 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/commons/collections4/IteratorUtilsTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/collections4/IteratorUtilsTest.java b/src/test/java/org/apache/commons/collections4/IteratorUtilsTest.java index a1f6c0369..93d6d82c2 100644 --- a/src/test/java/org/apache/commons/collections4/IteratorUtilsTest.java +++ b/src/test/java/org/apache/commons/collections4/IteratorUtilsTest.java @@ -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