5080227: (coll spec) Bug in documentation for WeakHashMap
authormartin
Mon, 10 Mar 2008 23:23:47 -0700
changeset 56 48451b4616e8
parent 55 5ecee29e98d8
child 57 bde819c390e0
5080227: (coll spec) Bug in documentation for WeakHashMap Reviewed-by: dholmes
jdk/src/share/classes/java/util/Hashtable.java
jdk/src/share/classes/java/util/WeakHashMap.java
--- a/jdk/src/share/classes/java/util/Hashtable.java	Tue Mar 11 01:20:55 2008 +0100
+++ b/jdk/src/share/classes/java/util/Hashtable.java	Mon Mar 10 23:23:47 2008 -0700
@@ -27,7 +27,7 @@
 import java.io.*;
 
 /**
- * This class implements a hashtable, which maps keys to values. Any
+ * This class implements a hash table, which maps keys to values. Any
  * non-<code>null</code> object can be used as a key or as a value. <p>
  *
  * To successfully store and retrieve objects from a hashtable, the
--- a/jdk/src/share/classes/java/util/WeakHashMap.java	Tue Mar 11 01:20:55 2008 +0100
+++ b/jdk/src/share/classes/java/util/WeakHashMap.java	Mon Mar 10 23:23:47 2008 -0700
@@ -29,7 +29,8 @@
 
 
 /**
- * A hashtable-based <tt>Map</tt> implementation with <em>weak keys</em>.
+ * Hash table based implementation of the <tt>Map</tt> interface, with
+ * <em>weak keys</em>.
  * An entry in a <tt>WeakHashMap</tt> will automatically be removed when
  * its key is no longer in ordinary use.  More precisely, the presence of a
  * mapping for a given key will not prevent the key from being discarded by the