commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skes...@apache.org
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 GMT
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 {



Mime
View raw message