kinow commented on a change in pull request #255:
URL: 
https://github.com/apache/commons-collections/pull/255#discussion_r715140917



##########
File path: 
src/main/java/org/apache/commons/collections4/iterators/UnmodifiableListIterator.java
##########
@@ -53,6 +53,14 @@
         return new UnmodifiableListIterator<>(iterator);
     }
 
+    /**
+     * use 
"org.apache.commons.collections4.iterators.UnmodifiableListIterator#unmodifiableListIterator"
 instead.

Review comment:
       Would need the @deprecated javadoc here too to help IDE's I think?

##########
File path: 
src/main/java/org/apache/commons/collections4/iterators/UnmodifiableListIterator.java
##########
@@ -53,6 +53,14 @@
         return new UnmodifiableListIterator<>(iterator);
     }
 
+    /**
+     * use 
"org.apache.commons.collections4.iterators.UnmodifiableListIterator#unmodifiableListIterator"
 instead.
+     */
+    @Deprecated
+    public static <E> ListIterator<E> umodifiableListIterator(final 
ListIterator<? extends E> iterator) {

Review comment:
       :+1: thanks!




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to