changeset 4101:495dcc360214

7030579: Extra words in documentation of ListIterator may cause confusion Reviewed-by: dholmes, alanb
author mduigou
date Tue, 19 Apr 2011 10:47:33 -0700
parents e9760efb5110
children f8956ba13b37 7cd0403492b6
files src/share/classes/java/util/ListIterator.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/util/ListIterator.java	Mon Apr 18 21:44:03 2011 -0700
+++ b/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