7030579: Extra words in documentation of ListIterator may cause confusion
authormduigou
Tue, 19 Apr 2011 10:47:33 -0700
changeset 9498 c59964385a5f
parent 9497 f08c52fe9fc7
child 9499 f3115698a012
child 9505 3bbc6ff8a905
7030579: Extra words in documentation of ListIterator may cause confusion Reviewed-by: dholmes, alanb
jdk/src/share/classes/java/util/ListIterator.java
--- a/jdk/src/share/classes/java/util/ListIterator.java	Mon Apr 18 21:44:03 2011 -0700
+++ b/jdk/src/share/classes/java/util/ListIterator.java	Tue Apr 19 10:47:33 2011 -0700
@@ -173,9 +173,9 @@
 
     /**
      * Inserts the specified element into the list (optional operation).
-     * The element is inserted immediately before the next element that
-     * would be returned by {@link #next}, if any, and after the next
-     * element that would be returned by {@link #previous}, if any.  (If the
+     * The element is inserted immediately before the element that
+     * would be returned by {@link #next}, if any, and after the element
+     * that would be returned by {@link #previous}, if any.  (If the
      * list contains no elements, the new element becomes the sole element
      * on the list.)  The new element is inserted before the implicit
      * cursor: a subsequent call to {@code next} would be unaffected, and a