8062901: Iterators is spelled incorrectly in the Javadoc for Spliterator

Chris Hegarty chris.hegarty at oracle.com
Tue Jan 20 14:51:49 UTC 2015


Reviewed.

-Chris.

On 20 Jan 2015, at 14:50, Paul Sandoz <paul.sandoz at oracle.com> wrote:

> Hi,
> 
> See the patch below that fixes a type on the Spliterator docs.
> 
> Thanks,
> Paul.
> 
> diff -r 1daa66d4a028 src/java.base/share/classes/java/util/Spliterator.java
> --- a/src/java.base/share/classes/java/util/Spliterator.java    Tue Jan 20 14:48:55 2015 +0000
> +++ b/src/java.base/share/classes/java/util/Spliterator.java    Tue Jan 20 14:49:38 2015 +0000
> @@ -125,7 +125,7 @@
>  * are encountered.
>  *
>  * @apiNote
> - * <p>Spliterators, like {@code Iterators}s, are for traversing the elements of
> + * <p>Spliterators, like {@code Iterator}s, are for traversing the elements of
>  * a source.  The {@code Spliterator} API was designed to support efficient
>  * parallel traversal in addition to sequential traversal, by supporting
>  * decomposition as well as single-element iteration.  In addition, the
> 




More information about the core-libs-dev mailing list