[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/marshall ...
Manik Surtani
msurtani at jboss.com
Mon Feb 5 19:19:34 EST 2007
User: msurtani
Date: 07/02/05 19:19:34
Modified: tests/functional/org/jboss/cache/marshall Tag:
Branch_JBossCache_1_4_0
TreeCacheMarshaller140Test.java
Log:
JDK5 classes removed
Revision Changes Path
No revision
No revision
1.1.2.6 +8 -9 JBossCache/tests/functional/org/jboss/cache/marshall/Attic/TreeCacheMarshaller140Test.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TreeCacheMarshaller140Test.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/marshall/Attic/TreeCacheMarshaller140Test.java,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -u -b -r1.1.2.5 -r1.1.2.6
--- TreeCacheMarshaller140Test.java 12 Jan 2007 01:12:49 -0000 1.1.2.5
+++ TreeCacheMarshaller140Test.java 6 Feb 2007 00:19:34 -0000 1.1.2.6
@@ -10,15 +10,14 @@
import org.jboss.cache.GlobalTransaction;
import org.jgroups.stack.IpAddress;
+import java.io.ObjectInputStream;
import java.util.ArrayList;
-import java.util.LinkedList;
-import java.util.HashSet;
-import java.util.TreeSet;
+import java.util.Collections;
import java.util.HashMap;
+import java.util.HashSet;
+import java.util.LinkedList;
import java.util.TreeMap;
-import java.util.Collections;
-import java.io.ByteArrayInputStream;
-import java.io.ObjectInputStream;
+import java.util.TreeSet;
/**
* @author <a href="mailto:manik at jboss.org">Manik Surtani (manik at jboss.org)</a>
@@ -47,9 +46,9 @@
doMagicNumberTest(new MyMap(), TreeCacheMarshaller140.MAGICNUMBER_SERIALIZABLE);
// empty collections
- doMagicNumberTest(Collections.emptyList(), TreeCacheMarshaller140.MAGICNUMBER_SERIALIZABLE);
- doMagicNumberTest(Collections.emptySet(), TreeCacheMarshaller140.MAGICNUMBER_SERIALIZABLE);
- doMagicNumberTest(Collections.emptyMap(), TreeCacheMarshaller140.MAGICNUMBER_SERIALIZABLE);
+ doMagicNumberTest(Collections.EMPTY_LIST, TreeCacheMarshaller140.MAGICNUMBER_SERIALIZABLE);
+ doMagicNumberTest(Collections.EMPTY_SET, TreeCacheMarshaller140.MAGICNUMBER_SERIALIZABLE);
+ doMagicNumberTest(Collections.EMPTY_MAP, TreeCacheMarshaller140.MAGICNUMBER_SERIALIZABLE);
}
public void testKnownTypeMagicNumbers() throws Exception
More information about the jboss-cvs-commits
mailing list