RFR: 7147994 Hashtable rehash() javadoc describes implementation details
Jayashree Sk1
jayashreesk at in.ibm.com
Wed Apr 29 10:02:22 UTC 2020
Hi All,
Please find the below changes for the issues https://bugs.openjdk.java.net/browse/JDK-7147994
It is a description change, which was already approved by the reviewer.
Thanks!
diff -r 59b5bd9a7168 src/java.base/share/classes/java/util/Hashtable.java
--- a/src/java.base/share/classes/java/util/Hashtable.java Mon Mar 16 02:16:49 2020 -0400
+++ b/src/java.base/share/classes/java/util/Hashtable.java Mon Mar 30 15:45:43 2020 +0530
@@ -399,9 +399,9 @@
/**
* Increases the capacity of and internally reorganizes this
* hashtable, in order to accommodate and access its entries more
- * efficiently. This method is called automatically when the
- * number of keys in the hashtable exceeds this hashtable's capacity
- * and load factor.
+ * efficiently. This method is called to increase the capacity of and
+ * internally reorganize this hashtable in order to more efficiently
+ * accommodate and access its entries.
*/
@SuppressWarnings("unchecked")
protected void rehash() {
More information about the core-libs-dev
mailing list