RFR 8014732: Minor spec issue: java.util.Spliterator.getExactSizeIfKnown

Chris Hegarty chris.hegarty at oracle.com
Wed May 29 13:11:09 UTC 2013


Looks good to me.

-Chris.

On 29/05/2013 12:36, Paul Sandoz wrote:
> Hi,
>
> Please review this JavaDoc fixe to j.u.Spliterator.getExactSizeIfKnown.
>
> Paul.
>
> # HG changeset patch
> # User psandoz
> # Date 1369825085 -7200
> # Node ID 840469ba82ab8d8238414a5333aa99b8d4035a9b
> # Parent  7ded996200218791c885c0aae4c474066101c7bd
> 8014732: Minor spec issue: java.util.Spliterator.getExactSizeIfKnown
> Summary: A minor documentation issue (not a spec issue).
> Reviewed-by:
>
> diff -r 7ded99620021 -r 840469ba82ab src/share/classes/java/util/Spliterator.java
> --- a/src/share/classes/java/util/Spliterator.java	Wed May 29 12:58:03 2013 +0200
> +++ b/src/share/classes/java/util/Spliterator.java	Wed May 29 12:58:05 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}.
>        */



More information about the core-libs-dev mailing list