I pretty sure this fixes bug 1729 (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1729) but I don't have an environment to test it. It certainly doesn't break anything.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130484 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Rodney Waldhoff 2001-05-18 00:12:45 +00:00
parent 3639ababd2
commit 3761b55144
2 changed files with 12 additions and 12 deletions

View File

@ -1,7 +1,7 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/FastHashMap.java,v 1.2 2001/04/21 12:19:57 craigmcc Exp $
* $Revision: 1.2 $
* $Date: 2001/04/21 12:19:57 $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/FastHashMap.java,v 1.3 2001/05/18 00:12:45 rwaldhoff Exp $
* $Revision: 1.3 $
* $Date: 2001/05/18 00:12:45 $
*
* ====================================================================
*
@ -95,7 +95,7 @@ import java.util.Set;
* maximum performance.</p>
*
* @author Craig R. McClanahan
* @version $Revision: 1.2 $ $Date: 2001/04/21 12:19:57 $
* @version $Revision: 1.3 $ $Date: 2001/05/18 00:12:45 $
*/
public class FastHashMap extends HashMap {
@ -302,7 +302,7 @@ public class FastHashMap extends HashMap {
return (false);
Iterator i = map.entrySet().iterator();
while (i.hasNext()) {
Entry e = (Entry) i.next();
Map.Entry e = (Map.Entry) i.next();
Object key = e.getKey();
Object value = e.getValue();
if (value == null) {
@ -320,7 +320,7 @@ public class FastHashMap extends HashMap {
return (false);
Iterator i = map.entrySet().iterator();
while (i.hasNext()) {
Entry e = (Entry) i.next();
Map.Entry e = (Map.Entry) i.next();
Object key = e.getKey();
Object value = e.getValue();
if (value == null) {

View File

@ -1,7 +1,7 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/FastTreeMap.java,v 1.2 2001/04/21 12:19:57 craigmcc Exp $
* $Revision: 1.2 $
* $Date: 2001/04/21 12:19:57 $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/FastTreeMap.java,v 1.3 2001/05/18 00:12:45 rwaldhoff Exp $
* $Revision: 1.3 $
* $Date: 2001/05/18 00:12:45 $
*
* ====================================================================
*
@ -97,7 +97,7 @@ import java.util.TreeMap;
* maximum performance.</p>
*
* @author Craig R. McClanahan
* @version $Revision: 1.2 $ $Date: 2001/04/21 12:19:57 $
* @version $Revision: 1.3 $ $Date: 2001/05/18 00:12:45 $
*/
public class FastTreeMap extends TreeMap {
@ -322,7 +322,7 @@ public class FastTreeMap extends TreeMap {
return (false);
Iterator i = map.entrySet().iterator();
while (i.hasNext()) {
Entry e = (Entry) i.next();
Map.Entry e = (Map.Entry) i.next();
Object key = e.getKey();
Object value = e.getValue();
if (value == null) {
@ -340,7 +340,7 @@ public class FastTreeMap extends TreeMap {
return (false);
Iterator i = map.entrySet().iterator();
while (i.hasNext()) {
Entry e = (Entry) i.next();
Map.Entry e = (Map.Entry) i.next();
Object key = e.getKey();
Object value = e.getValue();
if (value == null) {