CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Roman Kennke <[EMAIL PROTECTED]> 06/01/11 20:01:54
Modified files: . : ChangeLog java/util : Hashtable.java Log message: 2006-01-11 Roman Kennke <[EMAIL PROTECTED]> Reported by: Fridjof Siebert <[EMAIL PROTECTED]> * java/util/Hashtable.java (KEYS): Removed unneeded field. (VALUES): Removed unneeded field. (ENTRIES): Removed unneeded field. (keys): Return a KeyEnumerator instance. (elements): Returns a ValueEnumerator instance. (toString): Use an EntryIterator instance. (keySet): Return a KeyIterator instance. (values): Return a ValueIterator instance. (entrySet): Return an EntryIterator instance. (hashCode): Use EntryIterator instance. (rehash): Changed this loop to avoid redundant reads and make it obvious that null checking is not needed. (writeObject): Use EntryIterator instance. (HashIterator): Removed class. (Enumerator): Removed class. (EntryIterator): New class. (KeyIterator): New class. (ValueIterator): New class. (EntryEnumerator): New class. (KeyEnumerator): New class. (ValueEnumerator): New class. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6013&tr2=1.6014&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/java/util/Hashtable.java.diff?tr1=1.36&tr2=1.37&r1=text&r2=text