RFR: 8297306: Incorrect brackets in Javadoc for a constructor of IteratorSpliterator [v2]

Jaikiran Pai jpai at openjdk.org
Mon Jan 9 01:13:51 UTC 2023


On Mon, 9 Jan 2023 01:09:04 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

>> Can I please get a review of this change which fixes an issue in the javadoc text of the internal class IteratorSpliterator? This addresses the issue reported at  https://bugs.openjdk.org/browse/JDK-8297306.
>
> Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:
> 
>   update another javadoc

Hello Naoto, the brackets usage on that other method looks fine to me:

* Creates a {@code Spliterator} using the given collection's
* {@link java.util.Collection#iterator()} as the source of elements, and
* reporting its {@link java.util.Collection#size()} as its initial size.

I've now however updated that part just to use the same style of `{@link ...` as in the proposed change.

-------------

PR: https://git.openjdk.org/jdk/pull/11876


More information about the core-libs-dev mailing list