changeset 17920:eef25bc37ccd

8014732: Minor spec issue: java.util.Spliterator.getExactSizeIfKnown Summary: A minor documentation issue (not a spec issue). Reviewed-by: chegar, dl
author psandoz
date Fri, 31 May 2013 09:58:00 +0200
parents b5c4ce8b74c5
children 8ae76f95800a
files jdk/src/share/classes/java/util/Spliterator.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/share/classes/java/util/Spliterator.java	Thu May 30 14:11:32 2013 -0700
+++ b/jdk/src/share/classes/java/util/Spliterator.java	Fri May 31 09:58:00 2013 +0200
@@ -394,9 +394,9 @@
      * Convenience method that returns {@link #estimateSize()} if this
      * Spliterator is {@link #SIZED}, else {@code -1}.
      * @implSpec
-     * The default returns the result of {@code estimateSize()} if the
-     * Spliterator reports a characteristic of {@code SIZED}, and {@code -1}
-     * otherwise.
+     * The default implementation returns the result of {@code estimateSize()}
+     * if the Spliterator reports a characteristic of {@code SIZED}, and
+     * {@code -1} otherwise.
      *
      * @return the exact size, if known, else {@code -1}.
      */