Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 736C5C48D for ; Sun, 23 Jun 2013 18:26:56 +0000 (UTC) Received: (qmail 59376 invoked by uid 500); 23 Jun 2013 18:26:56 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 59280 invoked by uid 500); 23 Jun 2013 18:26:56 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 59273 invoked by uid 99); 23 Jun 2013 18:26:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Jun 2013 18:26:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Jun 2013 18:26:53 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id DBEED23888E3; Sun, 23 Jun 2013 18:26:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1495866 - /commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/IteratorUtilsTest.java Date: Sun, 23 Jun 2013 18:26:33 -0000 To: commits@commons.apache.org From: tn@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130623182633.DBEED23888E3@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tn Date: Sun Jun 23 18:26:33 2013 New Revision: 1495866 URL: http://svn.apache.org/r1495866 Log: Fix warning in test class. Modified: commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/IteratorUtilsTest.java Modified: commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/IteratorUtilsTest.java URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/IteratorUtilsTest.java?rev=1495866&r1=1495865&r2=1495866&view=diff ============================================================================== --- commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/IteratorUtilsTest.java (original) +++ commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/IteratorUtilsTest.java Sun Jun 23 18:26:33 2013 @@ -165,7 +165,7 @@ public class IteratorUtilsTest extends B } 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 B } try { - iterator = IteratorUtils.arrayListIterator(null); + iterator = IteratorUtils.arrayListIterator((Object[]) null); fail("Expecting NullPointerException"); } catch (final NullPointerException ex) { // expected