# HG changeset patch # User mduigou # Date 1303235253 25200 # Node ID c59964385a5fd9f74ffeece1c7f82619faafaa8f # Parent f08c52fe9fc741aeeb35bbcbf6c16bf675d6e170 7030579: Extra words in documentation of ListIterator may cause confusion Reviewed-by: dholmes, alanb diff -r f08c52fe9fc7 -r c59964385a5f 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