diff --git a/src/java.base/share/classes/java/util/Collections.java b/src/java.base/share/classes/java/util/Collections.java index dc261c3e250..5d50b0d6e4e 100644 --- a/src/java.base/share/classes/java/util/Collections.java +++ b/src/java.base/share/classes/java/util/Collections.java @@ -459,7 +459,7 @@ public class Collections { * up to the second, repeatedly swapping a randomly selected element into * the "current position". Elements are randomly selected from the * portion of the list that runs from the first element to the current - * position, inclusive.
+ * position, inclusive. * * @implSpec This method runs in linear time. If the specified list does * not implement the {@link RandomAccess} interface and is large, this