You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2004/04/12 14:01:38 UTC
cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestFastHashMap.java TestFastTreeMap.java
scolebourne 2004/04/12 05:01:38
Modified: collections/src/test/org/apache/commons/collections
TestFastHashMap.java TestFastTreeMap.java
Log:
Remove reference to JDK1.2, as it breaks other tests, and seems to work anyway
Revision Changes Path
1.16 +1 -8 jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastHashMap.java
Index: TestFastHashMap.java
===================================================================
RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastHashMap.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- TestFastHashMap.java 18 Feb 2004 01:20:35 -0000 1.15
+++ TestFastHashMap.java 12 Apr 2004 12:01:38 -0000 1.16
@@ -49,11 +49,4 @@
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;
- }
}
1.15 +1 -9 jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastTreeMap.java
Index: TestFastTreeMap.java
===================================================================
RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastTreeMap.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- TestFastTreeMap.java 18 Feb 2004 01:20:35 -0000 1.14
+++ TestFastTreeMap.java 12 Apr 2004 12:01:38 -0000 1.15
@@ -59,14 +59,6 @@
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() {
map = (TreeMap) makeEmptyMap();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org