Return-Path: Delivered-To: apmail-commons-commits-archive@locus.apache.org Received: (qmail 99907 invoked from network); 11 Nov 2007 21:59:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Nov 2007 21:59:31 -0000 Received: (qmail 18352 invoked by uid 500); 11 Nov 2007 21:59:18 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 18298 invoked by uid 500); 11 Nov 2007 21:59:18 -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 18289 invoked by uid 99); 11 Nov 2007 21:59:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Nov 2007 13:59:18 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Nov 2007 21:59:29 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C9F381A9832; Sun, 11 Nov 2007 13:59:09 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r593968 - /commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/CollectionUtils.java Date: Sun, 11 Nov 2007 21:59:09 -0000 To: commits@commons.apache.org From: skestle@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071111215909.C9F381A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: skestle Date: Sun Nov 11 13:59:08 2007 New Revision: 593968 URL: http://svn.apache.org/viewvc?rev=593968&view=rev Log: Missed 1 variable rename causing test to fail for COLLECTIONS-245 Modified: commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/CollectionUtils.java Modified: commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/CollectionUtils.java URL: http://svn.apache.org/viewvc/commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/CollectionUtils.java?rev=593968&r1=593967&r2=593968&view=diff ============================================================================== --- commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/CollectionUtils.java (original) +++ commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/CollectionUtils.java Sun Nov 11 13:59:08 2007 @@ -934,7 +934,7 @@ } else if (object instanceof Enumeration) { Enumeration it = (Enumeration) object; while (it.hasMoreElements()) { - index--; + i--; if (i == -1) { return it.nextElement(); } else {