mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8289872: wrong wording in @param doc for HashMap.newHashMap et. al.
Reviewed-by: chegar, naoto, iris
This commit is contained in:
parent
460d879a75
commit
eeaf0bbabc
3 changed files with 3 additions and 3 deletions
|
@ -2571,7 +2571,7 @@ public class HashMap<K,V> extends AbstractMap<K,V>
|
|||
* without resizing the map.
|
||||
*
|
||||
* @param numMappings the expected number of mappings
|
||||
* @param <K> the type of keys maintained by this map
|
||||
* @param <K> the type of keys maintained by the new map
|
||||
* @param <V> the type of mapped values
|
||||
* @return the newly created map
|
||||
* @throws IllegalArgumentException if numMappings is negative
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue