diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/util/HashMap.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/java/util/HashMap.java b/java/util/HashMap.java index 55d81c620..d7a9a7f5b 100644 --- a/java/util/HashMap.java +++ b/java/util/HashMap.java @@ -100,11 +100,10 @@ public class HashMap<K, V> extends AbstractMap<K, V> implements Map<K, V>, Cloneable, Serializable { /** - * Default number of buckets. This is the value the JDK 1.3 uses. Some - * early documentation specified this value as 101. That is incorrect. + * Default number of buckets; this is currently set to 16. * Package visible for use by HashSet. */ - static final int DEFAULT_CAPACITY = 11; + static final int DEFAULT_CAPACITY = 16; /** * The default load factor; this is explicitly specified by the spec. |