8285440: Typo in Collections.addAll method javadoc

Reviewed-by: jpai, rriggs
This commit is contained in:
Johnny Lim 2022-04-27 14:18:51 +00:00 committed by Jaikiran Pai
parent e7c3b9de64
commit 4919525ddb

View file

@ -5603,7 +5603,7 @@ public class Collections {
* Adds all of the specified elements to the specified collection.
* Elements to be added may be specified individually or as an array.
* The behaviour of this convenience method is similar to that of
* {@code cc.addAll(Collections.unmodifiableList(Arrays.asList(elements)))}.
* {@code c.addAll(Collections.unmodifiableList(Arrays.asList(elements)))}.
*
* <p>When elements are specified individually, this method provides a
* convenient way to add a few elements to an existing collection: