changeset 33:7ddbf4c837b9

5080227: (coll spec) Bug in documentation for WeakHashMap Reviewed-by: dholmes
author martin
date Mon, 10 Mar 2008 23:23:47 -0700
parents 32334945b32e
children 72b9e96ddbe9
files src/share/classes/java/util/Hashtable.java src/share/classes/java/util/WeakHashMap.java
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/util/Hashtable.java	Tue Mar 11 01:20:55 2008 +0100
+++ b/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/src/share/classes/java/util/WeakHashMap.java	Tue Mar 11 01:20:55 2008 +0100
+++ b/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