Repository: commons-collections
Updated Branches:
  refs/heads/master 2dd7c4ad8 -> 96eddd6ae


http://git-wip-us.apache.org/repos/asf/commons-collections/blob/96eddd6a/src/main/java/org/apache/commons/collections4/IteratorUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/collections4/IteratorUtils.java 
b/src/main/java/org/apache/commons/collections4/IteratorUtils.java
index 79ce159..8863cd3 100644
--- a/src/main/java/org/apache/commons/collections4/IteratorUtils.java
+++ b/src/main/java/org/apache/commons/collections4/IteratorUtils.java
@@ -856,8 +856,9 @@ public class IteratorUtils {
      * @return a peeking iterator
      * @throws NullPointerException if the iterator is null
      * @since 4.0
+     * @since 4.2 returns a {@link PeekingIterator} instead of a {@link 
Iterator}.
      */
-    public static <E> Iterator<E> peekingIterator(final Iterator<? extends E> 
iterator) {
+    public static <E> PeekingIterator<E> peekingIterator(final Iterator<? 
extends E> iterator) {
         return PeekingIterator.peekingIterator(iterator);
     }
 

Reply via email to