diff options
author | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-11 04:54:55 +0000 |
---|---|---|
committer | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-11 04:54:55 +0000 |
commit | 47230e8adcb52c4e9504ee37c50055cc13a79188 (patch) | |
tree | b639c64c19abe7830aa259c6e12e267bd8cecd23 /libjava/java/util/Hashtable.java | |
parent | 82f455afbd38e1495aefaa76910f4ff592f10166 (diff) | |
download | gcc-47230e8adcb52c4e9504ee37c50055cc13a79188.tar.gz |
* java/util/Hashtable.java (Enumerator.nextElement): Initialize `e'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38185 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/util/Hashtable.java')
-rw-r--r-- | libjava/java/util/Hashtable.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libjava/java/util/Hashtable.java b/libjava/java/util/Hashtable.java index 92fa48f1958..3a263b7a94a 100644 --- a/libjava/java/util/Hashtable.java +++ b/libjava/java/util/Hashtable.java @@ -64,8 +64,8 @@ import java.io.ObjectOutputStream; * @author Jon Zeppieri * @author Warren Levy * @author Bryce McKinlay - * @version $Revision: 1.6 $ - * @modified $Id: Hashtable.java,v 1.6 2000/08/19 18:19:42 green Exp $ + * @version $Revision: 1.7 $ + * @modified $Id: Hashtable.java,v 1.7 2000/12/11 03:47:47 bryce Exp $ */ public class Hashtable extends Dictionary implements Map, Cloneable, Serializable @@ -724,8 +724,8 @@ public class Hashtable extends Dictionary * as per the Javasoft spec. * * @author Jon Zeppieri - * @version $Revision: 1.8 $ - * @modified $Id: HashMap.java,v 1.8 2000/10/26 10:19:00 bryce Exp $ + * @version $Revision: 1.7 $ + * @modified $Id: Hashtable.java,v 1.7 2000/12/11 03:47:47 bryce Exp $ */ class HashIterator implements Iterator { @@ -829,8 +829,8 @@ public class Hashtable extends Dictionary * hashtable during enumeration causes indeterminate results. Don't do it! * * @author Jon Zeppieri - * @version $Revision: 1.6 $ - * @modified $Id: Hashtable.java,v 1.6 2000/08/19 18:19:42 green Exp $ */ + * @version $Revision: 1.7 $ + * @modified $Id: Hashtable.java,v 1.7 2000/12/11 03:47:47 bryce Exp $ */ class Enumerator implements Enumeration { static final int KEYS = 0; @@ -862,7 +862,7 @@ public class Hashtable extends Dictionary if (count >= size) throw new NoSuchElementException(); count++; - HashMap.Entry e; + HashMap.Entry e = null; if (last != null) e = last.next; |