Remove reference to JDK1.2, as it breaks other tests, and seems to work anyway

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131662 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2004-04-12 12:01:38 +00:00
parent 47f1e810f5
commit 3ecf858e1a
2 changed files with 2 additions and 17 deletions

View File

@ -24,7 +24,7 @@ import org.apache.commons.collections.map.AbstractTestMap;
/** /**
* Tests FastHashMap. * Tests FastHashMap.
* *
* @version $Revision: 1.15 $ $Date: 2004/02/18 01:20:35 $ * @version $Revision: 1.16 $ $Date: 2004/04/12 12:01:38 $
* *
* @author Jason van Zyl * @author Jason van Zyl
*/ */
@ -49,11 +49,4 @@ public class TestFastHashMap extends AbstractTestMap {
return (fhm); return (fhm);
} }
/**
* There is a bug in JDK1.2 HashMap; the keySet() will incorrectly
* return false when a null value is removed.
*/
public boolean isAllowNullValue() {
return false;
}
} }

View File

@ -23,7 +23,7 @@ import junit.framework.Test;
/** /**
* Tests FastTreeMap. * Tests FastTreeMap.
* *
* @version $Revision: 1.14 $ $Date: 2004/02/18 01:20:35 $ * @version $Revision: 1.15 $ $Date: 2004/04/12 12:01:38 $
* *
* @author Jason van Zyl * @author Jason van Zyl
*/ */
@ -59,14 +59,6 @@ public class TestFastTreeMap extends TestTreeMap {
return false; return false;
} }
/**
* There is a bug in JDK1.2.2 TreeMap; the keySet will incorrectly
* return false when a null value is removed
*/
public boolean isAllowNullValue() {
return false;
}
public void setUp() { public void setUp() {
map = (TreeMap) makeEmptyMap(); map = (TreeMap) makeEmptyMap();
} }