From 666a0d6ce63324de7488c2784e110b92c551aa1f Mon Sep 17 00:00:00 2001 From: mduigou Date: Tue, 19 Apr 2011 10:47:33 -0700 Subject: [PATCH] 7030579: Extra words in documentation of ListIterator may cause confusion Reviewed-by: dholmes, alanb --- src/share/classes/java/util/ListIterator.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/share/classes/java/util/ListIterator.java b/src/share/classes/java/util/ListIterator.java index cad6d9bae..92859173a 100644 --- a/src/share/classes/java/util/ListIterator.java +++ b/src/share/classes/java/util/ListIterator.java @@ -173,9 +173,9 @@ public interface ListIterator extends Iterator { /** * 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 -- GitLab