RFR: 8310351: Typo in ImmutableCollections

Jaikiran Pai jpai at openjdk.org
Sun Feb 25 11:20:53 UTC 2024


On Sun, 25 Feb 2024 08:13:08 GMT, Korov <duke at openjdk.org> wrote:

> Fix the @param name

src/java.base/share/classes/java/util/ImmutableCollections.java line 164:

> 162:      *
> 163:      * @param <E> the List's element type
> 164:      * @param coll the input array

Hello @Korov, while at it, can you also change that text to "the input collection". The parameter of the method isn't an array.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17996#discussion_r1501798446


More information about the core-libs-dev mailing list