8014732: Minor spec issue: java.util.Spliterator.getExactSizeIfKnown
authorpsandoz
Fri, 31 May 2013 09:58:00 +0200
changeset 17920 eef25bc37ccd
parent 17919 b5c4ce8b74c5
child 17921 8ae76f95800a
8014732: Minor spec issue: java.util.Spliterator.getExactSizeIfKnown Summary: A minor documentation issue (not a spec issue). Reviewed-by: chegar, dl
jdk/src/share/classes/java/util/Spliterator.java
--- 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}.
      */