commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject svn commit: r405920 - in /jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections: IteratorUtils.java iterators/LoopingListIterator.java
Date Fri, 12 May 2006 22:48:04 GMT
Author: scolebourne
Date: Fri May 12 15:48:04 2006
New Revision: 405920

URL: http://svn.apache.org/viewcvs?rev=405920&view=rev
Log:
Make LoopingListIterator implement ResettableListIterator
(a binary incompatible change, but on an unreleased class)

Modified:
    jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/IteratorUtils.java
    jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/LoopingListIterator.java

Modified: jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/IteratorUtils.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/IteratorUtils.java?rev=405920&r1=405919&r2=405920&view=diff
==============================================================================
--- jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/IteratorUtils.java
(original)
+++ jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/IteratorUtils.java
Fri May 12 15:48:04 2006
@@ -697,7 +697,7 @@
      * @throws NullPointerException if the list is null
      * @since Commons Collections 3.2
      */
-    public static ResettableIterator loopingListIterator(List list) {
+    public static ResettableListIterator loopingListIterator(List list) {
         if (list == null) {
             throw new NullPointerException("List must not be null");
         }

Modified: jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/LoopingListIterator.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/LoopingListIterator.java?rev=405920&r1=405919&r2=405920&view=diff
==============================================================================
--- jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/LoopingListIterator.java
(original)
+++ jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/LoopingListIterator.java
Fri May 12 15:48:04 2006
@@ -19,7 +19,7 @@
 import java.util.ListIterator;
 import java.util.NoSuchElementException;
 
-import org.apache.commons.collections.ResettableIterator;
+import org.apache.commons.collections.ResettableListIterator;
 
 /**
  * A ListIterator that restarts when it reaches the end or when it
@@ -38,7 +38,7 @@
  *
  * @author Eric Crampton <ccesc@eonomine.com>
  */
-public class LoopingListIterator implements ResettableIterator {
+public class LoopingListIterator implements ResettableListIterator {
 
     /** The list to base the iterator on */
     private List list;



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message