commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections/iterators TestIteratorChain.java TestFilterListIterator.java TestFilterIterator.java TestListIteratorWrapper.java TestUniqueFilterIterator.java
Date Sat, 12 Oct 2002 22:36:24 GMT
scolebourne    2002/10/12 15:36:24

  Modified:    collections/src/test/org/apache/commons/collections/primitives
                        TestAbstractIntArrayList.java
                        TestAbstractLongArrayList.java
                        TestLongArrayList.java TestFloatArrayList.java
                        TestUnsignedByteArrayList.java
                        TestUnsignedShortArrayList.java
                        TestShortArrayList.java
                        TestUnsignedIntArrayList.java
                        TestAbstractShortArrayList.java
                        TestIntArrayList.java
               collections/src/test/org/apache/commons/collections
                        TestBufferUtils.java TestReferenceMap.java
                        TestFastHashMap.java TestFastArrayList1.java
                        TestArrayList.java TestFastArrayList.java
                        TestIteratorUtils.java TestStaticBucketMap.java
                        TestBag.java TestBoundedFifoBuffer2.java
                        TestSequencedHashMap.java TestLRUMap.java
                        TestProxyMap.java BulkTest.java TestListUtils.java
                        TestMapUtils.java TestMultiHashMap.java
                        TestMap.java TestList.java TestCollection.java
                        TestTreeMap.java TestObject.java
                        TestFastTreeMap.java TestBinaryHeap.java
                        TestFastTreeMap1.java
               collections/src/test/org/apache/commons/collections/comparators
                        TestComparatorChain.java
                        TestComparableComparator.java TestComparator.java
                        TestNullComparator.java TestReverseComparator.java
               collections/src/test/org/apache/commons/collections/iterators
                        TestIteratorChain.java TestFilterListIterator.java
                        TestFilterIterator.java
                        TestListIteratorWrapper.java
                        TestUniqueFilterIterator.java
  Log:
  Fix unused imports (patch from Steve Downey)
  
  Revision  Changes    Path
  1.4       +6 -8      jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/TestAbstractIntArrayList.java
  
  Index: TestAbstractIntArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/TestAbstractIntArrayList.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestAbstractIntArrayList.java	19 Aug 2002 21:19:03 -0000	1.3
  +++ TestAbstractIntArrayList.java	12 Oct 2002 22:36:21 -0000	1.4
  @@ -61,11 +61,9 @@
   
   package org.apache.commons.collections.primitives;
   
  -import junit.framework.Test;
  -import junit.framework.TestCase;
  -import junit.framework.TestSuite;
  -import org.apache.commons.collections.TestList;
   import java.util.List;
  +
  +import org.apache.commons.collections.TestList;
   
   /**
    * @version $Revision$ $Date$
  
  
  
  1.4       +6 -8      jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/TestAbstractLongArrayList.java
  
  Index: TestAbstractLongArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/TestAbstractLongArrayList.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestAbstractLongArrayList.java	19 Aug 2002 21:19:03 -0000	1.3
  +++ TestAbstractLongArrayList.java	12 Oct 2002 22:36:21 -0000	1.4
  @@ -61,11 +61,9 @@
   
   package org.apache.commons.collections.primitives;
   
  -import junit.framework.Test;
  -import junit.framework.TestCase;
  -import junit.framework.TestSuite;
  -import org.apache.commons.collections.TestList;
   import java.util.List;
  +
  +import org.apache.commons.collections.TestList;
   
   /**
    * @version $Revision$ $Date$
  
  
  
  1.5       +5 -5      jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/TestLongArrayList.java
  
  Index: TestLongArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/TestLongArrayList.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TestLongArrayList.java	7 Sep 2002 20:33:32 -0000	1.4
  +++ TestLongArrayList.java	12 Oct 2002 22:36:21 -0000	1.5
  @@ -62,8 +62,8 @@
   package org.apache.commons.collections.primitives;
   
   import junit.framework.Test;
  -import junit.framework.TestCase;
   import junit.framework.TestSuite;
  +
   import org.apache.commons.collections.BulkTest;
   
   /**
  
  
  
  1.4       +7 -6      jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/TestFloatArrayList.java
  
  Index: TestFloatArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/TestFloatArrayList.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestFloatArrayList.java	7 Sep 2002 20:33:32 -0000	1.3
  +++ TestFloatArrayList.java	12 Oct 2002 22:36:21 -0000	1.4
  @@ -61,11 +61,12 @@
   
   package org.apache.commons.collections.primitives;
   
  +import java.util.List;
  +
   import junit.framework.Test;
  -import junit.framework.TestCase;
   import junit.framework.TestSuite;
  +
   import org.apache.commons.collections.TestList;
  -import java.util.List;
   
   /**
    * @version $Revision$ $Date$
  
  
  
  1.5       +5 -5      jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/TestUnsignedByteArrayList.java
  
  Index: TestUnsignedByteArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/TestUnsignedByteArrayList.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TestUnsignedByteArrayList.java	7 Sep 2002 20:33:32 -0000	1.4
  +++ TestUnsignedByteArrayList.java	12 Oct 2002 22:36:21 -0000	1.5
  @@ -62,8 +62,8 @@
   package org.apache.commons.collections.primitives;
   
   import junit.framework.Test;
  -import junit.framework.TestCase;
   import junit.framework.TestSuite;
  +
   import org.apache.commons.collections.BulkTest;
   
   /**
  
  
  
  1.5       +5 -5      jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/TestUnsignedShortArrayList.java
  
  Index: TestUnsignedShortArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/TestUnsignedShortArrayList.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TestUnsignedShortArrayList.java	7 Sep 2002 20:33:32 -0000	1.4
  +++ TestUnsignedShortArrayList.java	12 Oct 2002 22:36:21 -0000	1.5
  @@ -62,8 +62,8 @@
   package org.apache.commons.collections.primitives;
   
   import junit.framework.Test;
  -import junit.framework.TestCase;
   import junit.framework.TestSuite;
  +
   import org.apache.commons.collections.BulkTest;
   
   /**
  
  
  
  1.5       +5 -5      jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/TestShortArrayList.java
  
  Index: TestShortArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/TestShortArrayList.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TestShortArrayList.java	7 Sep 2002 20:33:32 -0000	1.4
  +++ TestShortArrayList.java	12 Oct 2002 22:36:21 -0000	1.5
  @@ -62,8 +62,8 @@
   package org.apache.commons.collections.primitives;
   
   import junit.framework.Test;
  -import junit.framework.TestCase;
   import junit.framework.TestSuite;
  +
   import org.apache.commons.collections.BulkTest;
   
   /**
  
  
  
  1.5       +5 -5      jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/TestUnsignedIntArrayList.java
  
  Index: TestUnsignedIntArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/TestUnsignedIntArrayList.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TestUnsignedIntArrayList.java	7 Sep 2002 20:33:32 -0000	1.4
  +++ TestUnsignedIntArrayList.java	12 Oct 2002 22:36:21 -0000	1.5
  @@ -62,8 +62,8 @@
   package org.apache.commons.collections.primitives;
   
   import junit.framework.Test;
  -import junit.framework.TestCase;
   import junit.framework.TestSuite;
  +
   import org.apache.commons.collections.BulkTest;
   
   /**
  
  
  
  1.4       +6 -8      jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/TestAbstractShortArrayList.java
  
  Index: TestAbstractShortArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/TestAbstractShortArrayList.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestAbstractShortArrayList.java	19 Aug 2002 21:19:03 -0000	1.3
  +++ TestAbstractShortArrayList.java	12 Oct 2002 22:36:21 -0000	1.4
  @@ -61,11 +61,9 @@
   
   package org.apache.commons.collections.primitives;
   
  -import junit.framework.Test;
  -import junit.framework.TestCase;
  -import junit.framework.TestSuite;
  -import org.apache.commons.collections.TestList;
   import java.util.List;
  +
  +import org.apache.commons.collections.TestList;
   
   /**
    * @version $Revision$ $Date$
  
  
  
  1.5       +5 -5      jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/TestIntArrayList.java
  
  Index: TestIntArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/TestIntArrayList.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TestIntArrayList.java	7 Sep 2002 20:33:32 -0000	1.4
  +++ TestIntArrayList.java	12 Oct 2002 22:36:21 -0000	1.5
  @@ -62,8 +62,8 @@
   package org.apache.commons.collections.primitives;
   
   import junit.framework.Test;
  -import junit.framework.TestCase;
   import junit.framework.TestSuite;
  +
   import org.apache.commons.collections.BulkTest;
   
   /**
  
  
  
  1.3       +6 -6      jakarta-commons/collections/src/test/org/apache/commons/collections/TestBufferUtils.java
  
  Index: TestBufferUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestBufferUtils.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestBufferUtils.java	18 Aug 2002 20:11:38 -0000	1.2
  +++ TestBufferUtils.java	12 Oct 2002 22:36:21 -0000	1.3
  @@ -60,10 +60,10 @@
    */
   package org.apache.commons.collections;
   
  -import junit.framework.Test;
  -import java.util.Collection;
   import java.util.Arrays;
  -import java.util.ArrayList;
  +import java.util.Collection;
  +
  +import junit.framework.Test;
   
   
   /**
  
  
  
  1.2       +7 -13     jakarta-commons/collections/src/test/org/apache/commons/collections/TestReferenceMap.java
  
  Index: TestReferenceMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestReferenceMap.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestReferenceMap.java	12 Aug 2002 18:13:09 -0000	1.1
  +++ TestReferenceMap.java	12 Oct 2002 22:36:21 -0000	1.2
  @@ -61,17 +61,11 @@
   
   package org.apache.commons.collections;
   
  -import junit.framework.Test;
  -import junit.framework.TestCase;
  -import junit.framework.TestSuite;
  -import java.lang.ref.Reference;
  -import java.lang.ref.WeakReference;
  -import java.lang.ref.ReferenceQueue;
  -import java.util.ArrayList;
  -import java.util.Iterator;
  -import java.util.Map;
   import java.util.HashMap;
  +import java.util.Map;
   import java.util.Random;
  +
  +import junit.framework.Test;
   
   
   /**
  
  
  
  1.8       +6 -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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- TestFastHashMap.java	12 Aug 2002 18:00:46 -0000	1.7
  +++ TestFastHashMap.java	12 Oct 2002 22:36:21 -0000	1.8
  @@ -61,11 +61,9 @@
   
   package org.apache.commons.collections;
   
  -import junit.framework.Test;
  -import junit.framework.TestCase;
  -import junit.framework.TestSuite;
  -import java.util.HashMap;
   import java.util.Map;
  +
  +import junit.framework.Test;
   
   /**
    * @author <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a>
  
  
  
  1.4       +6 -7      jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastArrayList1.java
  
  Index: TestFastArrayList1.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastArrayList1.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestFastArrayList1.java	13 Aug 2002 04:34:09 -0000	1.3
  +++ TestFastArrayList1.java	12 Oct 2002 22:36:21 -0000	1.4
  @@ -61,11 +61,10 @@
   
   package org.apache.commons.collections;
   
  -import junit.framework.Test;
  -import junit.framework.TestCase;
  -import junit.framework.TestSuite;
   import java.util.ArrayList;
   import java.util.List;
  +
  +import junit.framework.Test;
   
   /**
    * Test FastArrayList implementation in <strong>fast</strong> mode.
  
  
  
  1.5       +4 -6      jakarta-commons/collections/src/test/org/apache/commons/collections/TestArrayList.java
  
  Index: TestArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestArrayList.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TestArrayList.java	26 Feb 2002 17:31:51 -0000	1.4
  +++ TestArrayList.java	12 Oct 2002 22:36:21 -0000	1.5
  @@ -62,10 +62,8 @@
   package org.apache.commons.collections;
   
   import junit.framework.Test;
  -import junit.framework.TestCase;
   import junit.framework.TestSuite;
   import java.util.ArrayList;
  -import java.util.List;
   
   /**
    * @author <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a>
  
  
  
  1.6       +6 -7      jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastArrayList.java
  
  Index: TestFastArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastArrayList.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TestFastArrayList.java	21 Jun 2002 03:33:28 -0000	1.5
  +++ TestFastArrayList.java	12 Oct 2002 22:36:21 -0000	1.6
  @@ -61,11 +61,10 @@
   
   package org.apache.commons.collections;
   
  -import junit.framework.Test;
  -import junit.framework.TestCase;
  -import junit.framework.TestSuite;
   import java.util.ArrayList;
   import java.util.List;
  +
  +import junit.framework.Test;
   
   /**
    * @author <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a>
  
  
  
  1.2       +2 -3      jakarta-commons/collections/src/test/org/apache/commons/collections/TestIteratorUtils.java
  
  Index: TestIteratorUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestIteratorUtils.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestIteratorUtils.java	17 Aug 2002 22:14:47 -0000	1.1
  +++ TestIteratorUtils.java	12 Oct 2002 22:36:21 -0000	1.2
  @@ -65,7 +65,6 @@
   import java.util.List;
   
   import junit.framework.Test;
  -import junit.framework.TestCase;
   /**
    *  Tests for IteratorUtils.
    */
  
  
  
  1.3       +0 -6      jakarta-commons/collections/src/test/org/apache/commons/collections/TestStaticBucketMap.java
  
  Index: TestStaticBucketMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestStaticBucketMap.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestStaticBucketMap.java	15 Aug 2002 03:23:08 -0000	1.2
  +++ TestStaticBucketMap.java	12 Oct 2002 22:36:21 -0000	1.3
  @@ -54,15 +54,9 @@
    * <http://www.apache.org/>.
    */
   
  -import java.io.IOException;
  -import java.io.Serializable;
  -import java.util.Iterator;
  -import java.util.List;
   import java.util.Map;
   
   import junit.framework.Test;
  -import junit.framework.TestCase;
  -import junit.framework.TestSuite;
   
   /**
    * Unit tests 
  
  
  
  1.5       +4 -6      jakarta-commons/collections/src/test/org/apache/commons/collections/TestBag.java
  
  Index: TestBag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestBag.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TestBag.java	18 Jun 2002 01:14:23 -0000	1.4
  +++ TestBag.java	12 Oct 2002 22:36:21 -0000	1.5
  @@ -61,9 +61,7 @@
   
   package org.apache.commons.collections;
   
  -import junit.framework.*;
   import java.util.ArrayList;
  -import java.util.Collection;
   import java.util.ConcurrentModificationException;
   import java.util.Iterator;
   import java.util.List;
  
  
  
  1.3       +5 -5      jakarta-commons/collections/src/test/org/apache/commons/collections/TestBoundedFifoBuffer2.java
  
  Index: TestBoundedFifoBuffer2.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestBoundedFifoBuffer2.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestBoundedFifoBuffer2.java	3 Jul 2002 01:59:50 -0000	1.2
  +++ TestBoundedFifoBuffer2.java	12 Oct 2002 22:36:21 -0000	1.3
  @@ -61,10 +61,10 @@
   package org.apache.commons.collections;
   
   
  -import junit.framework.Test;
   import java.util.Arrays;
   import java.util.Collection;
  -import java.util.Iterator;
  +
  +import junit.framework.Test;
   
   
   /**
  
  
  
  1.15      +0 -2      jakarta-commons/collections/src/test/org/apache/commons/collections/TestSequencedHashMap.java
  
  Index: TestSequencedHashMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestSequencedHashMap.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- TestSequencedHashMap.java	18 Jun 2002 05:35:58 -0000	1.14
  +++ TestSequencedHashMap.java	12 Oct 2002 22:36:21 -0000	1.15
  @@ -61,8 +61,6 @@
   import java.util.Map;
   
   import junit.framework.Test;
  -import junit.framework.TestCase;
  -import junit.framework.TestSuite;
   
   /**
    * Unit tests 
  
  
  
  1.23      +7 -8      jakarta-commons/collections/src/test/org/apache/commons/collections/TestLRUMap.java
  
  Index: TestLRUMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestLRUMap.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- TestLRUMap.java	18 Jun 2002 05:35:58 -0000	1.22
  +++ TestLRUMap.java	12 Oct 2002 22:36:22 -0000	1.23
  @@ -61,14 +61,13 @@
   
   package org.apache.commons.collections;
   
  -import junit.framework.Test;
  -import junit.framework.TestCase;
  -import junit.framework.TestSuite;
   import java.util.ArrayList;
  +import java.util.HashMap;
   import java.util.Iterator;
   import java.util.Map;
  -import java.util.HashMap;
   import java.util.Set;
  +
  +import junit.framework.Test;
   
   /**
    * 
  
  
  
  1.2       +4 -7      jakarta-commons/collections/src/test/org/apache/commons/collections/TestProxyMap.java
  
  Index: TestProxyMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestProxyMap.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestProxyMap.java	15 Mar 2002 05:37:21 -0000	1.1
  +++ TestProxyMap.java	12 Oct 2002 22:36:22 -0000	1.2
  @@ -61,10 +61,7 @@
   
   package org.apache.commons.collections;
   
  -import junit.framework.Test;
  -import junit.framework.TestCase;
  -import junit.framework.TestSuite;
  -import java.util.Map;
  +
   
   /**
    * Tests the {@link org.apache.commons.collections.ProxyMap} class.
  
  
  
  1.2       +1 -2      jakarta-commons/collections/src/test/org/apache/commons/collections/BulkTest.java
  
  Index: BulkTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/BulkTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BulkTest.java	18 Jun 2002 01:04:03 -0000	1.1
  +++ BulkTest.java	12 Oct 2002 22:36:22 -0000	1.2
  @@ -1,7 +1,6 @@
   package org.apache.commons.collections;
   
   
  -import junit.framework.Test;
   import junit.framework.TestCase;
   import junit.framework.TestSuite;
   import java.lang.reflect.Constructor;
  
  
  
  1.5       +6 -6      jakarta-commons/collections/src/test/org/apache/commons/collections/TestListUtils.java
  
  Index: TestListUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestListUtils.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TestListUtils.java	18 Aug 2002 20:11:38 -0000	1.4
  +++ TestListUtils.java	12 Oct 2002 22:36:22 -0000	1.5
  @@ -60,11 +60,11 @@
    */
   package org.apache.commons.collections;
   
  -import junit.framework.Test;
  +import java.util.ArrayList;
   import java.util.Collection;
   import java.util.List;
  -import java.util.Arrays;
  -import java.util.ArrayList;
  +
  +import junit.framework.Test;
   
   
   public class TestListUtils extends BulkTest {
  
  
  
  1.2       +5 -5      jakarta-commons/collections/src/test/org/apache/commons/collections/TestMapUtils.java
  
  Index: TestMapUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestMapUtils.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestMapUtils.java	13 Aug 2002 00:26:52 -0000	1.1
  +++ TestMapUtils.java	12 Oct 2002 22:36:22 -0000	1.2
  @@ -60,11 +60,11 @@
    */
   package org.apache.commons.collections;
   
  -import junit.framework.Test;
  -import java.util.Arrays;
  -import java.util.Map;
   import java.util.HashMap;
   import java.util.Iterator;
  +import java.util.Map;
  +
  +import junit.framework.Test;
   
   
   /**
  
  
  
  1.6       +6 -5      jakarta-commons/collections/src/test/org/apache/commons/collections/TestMultiHashMap.java
  
  Index: TestMultiHashMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestMultiHashMap.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TestMultiHashMap.java	18 Jun 2002 03:28:35 -0000	1.5
  +++ TestMultiHashMap.java	12 Oct 2002 22:36:22 -0000	1.6
  @@ -61,10 +61,11 @@
   
   package org.apache.commons.collections;
   
  -import java.util.*;
  +import java.util.Collection;
  +import java.util.Iterator;
  +import java.util.Map;
   
   import junit.framework.Test;
  -import junit.framework.TestCase;
   import junit.framework.TestSuite;
   
   
  
  
  
  1.19      +6 -14     jakarta-commons/collections/src/test/org/apache/commons/collections/TestMap.java
  
  Index: TestMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestMap.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- TestMap.java	18 Jun 2002 03:28:35 -0000	1.18
  +++ TestMap.java	12 Oct 2002 22:36:22 -0000	1.19
  @@ -61,21 +61,13 @@
   
   package org.apache.commons.collections;
   
  -import junit.framework.*;
   import java.io.IOException;
   import java.io.Serializable;
  -import java.util.ArrayList;
  -import java.util.Arrays;
   import java.util.Collection;
  -import java.util.ConcurrentModificationException;
  +import java.util.HashMap;
  +import java.util.Iterator;
   import java.util.Map;
  -import java.util.Collection;
  -import java.util.Collections;
   import java.util.Set;
  -import java.util.Iterator;
  -import java.util.HashMap;
  -import java.util.HashSet;
  -import java.util.NoSuchElementException;
   
   /**
    * Tests base {@link java.util.Map} methods and contracts.
  
  
  
  1.12      +6 -7      jakarta-commons/collections/src/test/org/apache/commons/collections/TestList.java
  
  Index: TestList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestList.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- TestList.java	13 Aug 2002 00:26:52 -0000	1.11
  +++ TestList.java	12 Oct 2002 22:36:22 -0000	1.12
  @@ -61,17 +61,16 @@
   
   package org.apache.commons.collections;
   
  -import junit.framework.*;
   import java.io.IOException;
   import java.io.Serializable;
   import java.lang.reflect.InvocationTargetException;
   import java.lang.reflect.Method;
   import java.util.AbstractCollection;
  +import java.util.ArrayList;
  +import java.util.Arrays;
   import java.util.Collection;
   import java.util.Collections;
   import java.util.ConcurrentModificationException;
  -import java.util.Arrays;
  -import java.util.ArrayList;
   import java.util.Iterator;
   import java.util.List;
   import java.util.ListIterator;
  
  
  
  1.9       +4 -6      jakarta-commons/collections/src/test/org/apache/commons/collections/TestCollection.java
  
  Index: TestCollection.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestCollection.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- TestCollection.java	21 Jun 2002 03:32:06 -0000	1.8
  +++ TestCollection.java	12 Oct 2002 22:36:22 -0000	1.9
  @@ -61,7 +61,6 @@
   
   package org.apache.commons.collections;
   
  -import junit.framework.*;
   import java.lang.reflect.Array;
   import java.util.ArrayList;
   import java.util.Arrays;
  @@ -72,7 +71,6 @@
   import java.util.Iterator;
   import java.util.List;
   import java.util.NoSuchElementException;
  -import java.util.Set;
   
   
   /**
  
  
  
  1.6       +4 -8      jakarta-commons/collections/src/test/org/apache/commons/collections/TestTreeMap.java
  
  Index: TestTreeMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestTreeMap.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TestTreeMap.java	26 Feb 2002 00:31:32 -0000	1.5
  +++ TestTreeMap.java	12 Oct 2002 22:36:22 -0000	1.6
  @@ -61,11 +61,7 @@
   
   package org.apache.commons.collections;
   
  -import junit.framework.Test;
  -import junit.framework.TestCase;
  -import junit.framework.TestSuite;
   import java.util.TreeMap;
  -import java.util.Map;
   
   /**
    * @author <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a>
  
  
  
  1.12      +5 -12     jakarta-commons/collections/src/test/org/apache/commons/collections/TestObject.java
  
  Index: TestObject.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestObject.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- TestObject.java	18 Jun 2002 01:04:03 -0000	1.11
  +++ TestObject.java	12 Oct 2002 22:36:22 -0000	1.12
  @@ -61,24 +61,17 @@
   
   package org.apache.commons.collections;
   
  -import junit.framework.*;
  -
   import java.io.ByteArrayInputStream;
   import java.io.ByteArrayOutputStream;
   import java.io.File;
   import java.io.FileInputStream;
   import java.io.FileOutputStream;
  -import java.io.InputStream;
   import java.io.IOException;
  +import java.io.InputStream;
   import java.io.ObjectInputStream;
   import java.io.ObjectOutputStream;
   import java.io.OutputStream;
   import java.io.Serializable;
  -
  -import java.util.Collection;
  -import java.util.ArrayList;
  -import java.util.Iterator;
  -import java.util.NoSuchElementException;
   
   /**
    * Tests base {@link java.util.Object} methods and contracts.
  
  
  
  1.9       +6 -7      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.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- TestFastTreeMap.java	13 Aug 2002 04:34:09 -0000	1.8
  +++ TestFastTreeMap.java	12 Oct 2002 22:36:22 -0000	1.9
  @@ -61,11 +61,10 @@
   
   package org.apache.commons.collections;
   
  -import junit.framework.Test;
  -import junit.framework.TestCase;
  -import junit.framework.TestSuite;
   import java.util.Map;
   import java.util.TreeMap;
  +
  +import junit.framework.Test;
   
   /**
    * @author <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a>
  
  
  
  1.6       +8 -7      jakarta-commons/collections/src/test/org/apache/commons/collections/TestBinaryHeap.java
  
  Index: TestBinaryHeap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestBinaryHeap.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TestBinaryHeap.java	17 Aug 2002 12:07:24 -0000	1.5
  +++ TestBinaryHeap.java	12 Oct 2002 22:36:22 -0000	1.6
  @@ -61,13 +61,14 @@
   
   package org.apache.commons.collections;
   
  -import junit.framework.*;
  -import java.util.Arrays;
   import java.util.ArrayList;
  +import java.util.Arrays;
   import java.util.Collection;
   import java.util.Comparator;
  -import java.util.Iterator;
   import java.util.NoSuchElementException;
  +
  +import junit.framework.Test;
  +import junit.framework.TestSuite;
   
   import org.apache.commons.collections.comparators.ComparableComparator;
   import org.apache.commons.collections.comparators.ReverseComparator;
  
  
  
  1.5       +6 -7      jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastTreeMap1.java
  
  Index: TestFastTreeMap1.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestFastTreeMap1.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TestFastTreeMap1.java	13 Aug 2002 04:34:09 -0000	1.4
  +++ TestFastTreeMap1.java	12 Oct 2002 22:36:22 -0000	1.5
  @@ -61,11 +61,10 @@
   
   package org.apache.commons.collections;
   
  -import junit.framework.Test;
  -import junit.framework.TestCase;
  -import junit.framework.TestSuite;
   import java.util.Map;
   import java.util.TreeMap;
  +
  +import junit.framework.Test;
   
   /**
    * Test FastTreeMap in <strong>fast</strong> mode.
  
  
  
  1.3       +0 -2      jakarta-commons/collections/src/test/org/apache/commons/collections/comparators/TestComparatorChain.java
  
  Index: TestComparatorChain.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/comparators/TestComparatorChain.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestComparatorChain.java	19 Mar 2002 22:25:58 -0000	1.2
  +++ TestComparatorChain.java	12 Oct 2002 22:36:23 -0000	1.3
  @@ -1,13 +1,11 @@
   package org.apache.commons.collections.comparators;
   
   import java.io.Serializable;
  -import java.util.Collections;
   import java.util.Comparator;
   import java.util.LinkedList;
   import java.util.List;
   
   import junit.framework.Test;
  -import junit.framework.TestCase;
   import junit.framework.TestSuite;
   
   public class TestComparatorChain extends TestComparator {
  
  
  
  1.2       +0 -1      jakarta-commons/collections/src/test/org/apache/commons/collections/comparators/TestComparableComparator.java
  
  Index: TestComparableComparator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/comparators/TestComparableComparator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestComparableComparator.java	1 Mar 2002 18:36:21 -0000	1.1
  +++ TestComparableComparator.java	12 Oct 2002 22:36:23 -0000	1.2
  @@ -5,7 +5,6 @@
   import java.util.List;
   
   import junit.framework.Test;
  -import junit.framework.TestCase;
   import junit.framework.TestSuite;
   
   public class TestComparableComparator extends TestComparator {
  
  
  
  1.5       +0 -2      jakarta-commons/collections/src/test/org/apache/commons/collections/comparators/TestComparator.java
  
  Index: TestComparator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/comparators/TestComparator.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TestComparator.java	9 Jun 2002 19:23:53 -0000	1.4
  +++ TestComparator.java	12 Oct 2002 22:36:23 -0000	1.5
  @@ -5,11 +5,9 @@
   import java.io.Serializable;
   import java.util.Collections;
   import java.util.Comparator;
  -import java.util.Iterator;
   import java.util.LinkedList;
   import java.util.List;
   
  -import org.apache.commons.collections.CollectionUtils;
   import org.apache.commons.collections.TestObject;
   
   public abstract class TestComparator extends TestObject {
  
  
  
  1.3       +1 -2      jakarta-commons/collections/src/test/org/apache/commons/collections/comparators/TestNullComparator.java
  
  Index: TestNullComparator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/comparators/TestNullComparator.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestNullComparator.java	11 Jun 2002 02:41:47 -0000	1.2
  +++ TestNullComparator.java	12 Oct 2002 22:36:23 -0000	1.3
  @@ -59,7 +59,6 @@
   import java.util.List;
   
   import junit.framework.Test;
  -import junit.framework.TestCase;
   import junit.framework.TestSuite;
   
   /**
  
  
  
  1.3       +0 -1      jakarta-commons/collections/src/test/org/apache/commons/collections/comparators/TestReverseComparator.java
  
  Index: TestReverseComparator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/comparators/TestReverseComparator.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestReverseComparator.java	1 Mar 2002 19:39:28 -0000	1.2
  +++ TestReverseComparator.java	12 Oct 2002 22:36:23 -0000	1.3
  @@ -6,7 +6,6 @@
   import java.util.List;
   
   import junit.framework.Test;
  -import junit.framework.TestCase;
   import junit.framework.TestSuite;
   
   public class TestReverseComparator extends TestComparator {
  
  
  
  1.2       +6 -5      jakarta-commons/collections/src/test/org/apache/commons/collections/iterators/TestIteratorChain.java
  
  Index: TestIteratorChain.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/iterators/TestIteratorChain.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestIteratorChain.java	15 Aug 2002 23:13:52 -0000	1.1
  +++ TestIteratorChain.java	12 Oct 2002 22:36:23 -0000	1.2
  @@ -61,12 +61,13 @@
   
   package org.apache.commons.collections.iterators;
   
  -import junit.framework.*;
  -import java.io.Serializable;
   import java.util.ArrayList;
   import java.util.Iterator;
   import java.util.List;
   import java.util.NoSuchElementException;
  +
  +import junit.framework.Test;
  +import junit.framework.TestSuite;
   
   /**
    * Tests the ArrayIterator to ensure that the next() method will actually
  
  
  
  1.2       +4 -5      jakarta-commons/collections/src/test/org/apache/commons/collections/iterators/TestFilterListIterator.java
  
  Index: TestFilterListIterator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/iterators/TestFilterListIterator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestFilterListIterator.java	15 Aug 2002 23:13:52 -0000	1.1
  +++ TestFilterListIterator.java	12 Oct 2002 22:36:23 -0000	1.2
  @@ -63,7 +63,6 @@
   import junit.framework.TestCase;
   import junit.framework.TestSuite;
   import junit.framework.Test;
  -import java.util.NoSuchElementException;
   import java.util.ArrayList;
   import java.util.List;
   import java.util.ListIterator;
  
  
  
  1.2       +2 -3      jakarta-commons/collections/src/test/org/apache/commons/collections/iterators/TestFilterIterator.java
  
  Index: TestFilterIterator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/iterators/TestFilterIterator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestFilterIterator.java	15 Aug 2002 23:13:52 -0000	1.1
  +++ TestFilterIterator.java	12 Oct 2002 22:36:23 -0000	1.2
  @@ -63,7 +63,6 @@
   // TestFilterIterator.java 
   package org.apache.commons.collections.iterators;
   
  -import junit.framework.TestCase;
   import junit.framework.TestSuite;
   import junit.framework.Test;
   import java.util.Iterator;
  
  
  
  1.2       +6 -5      jakarta-commons/collections/src/test/org/apache/commons/collections/iterators/TestListIteratorWrapper.java
  
  Index: TestListIteratorWrapper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/iterators/TestListIteratorWrapper.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestListIteratorWrapper.java	15 Aug 2002 23:13:52 -0000	1.1
  +++ TestListIteratorWrapper.java	12 Oct 2002 22:36:23 -0000	1.2
  @@ -61,13 +61,14 @@
   
   package org.apache.commons.collections.iterators;
   
  -import junit.framework.*;
  -import java.io.Serializable;
   import java.util.ArrayList;
   import java.util.Iterator;
   import java.util.List;
   import java.util.ListIterator;
   import java.util.NoSuchElementException;
  +
  +import junit.framework.Test;
  +import junit.framework.TestSuite;
   
   /**
    * Tests the ListIteratorWrapper to insure that it simulates
  
  
  
  1.2       +6 -5      jakarta-commons/collections/src/test/org/apache/commons/collections/iterators/TestUniqueFilterIterator.java
  
  Index: TestUniqueFilterIterator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/iterators/TestUniqueFilterIterator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestUniqueFilterIterator.java	15 Aug 2002 23:13:52 -0000	1.1
  +++ TestUniqueFilterIterator.java	12 Oct 2002 22:36:23 -0000	1.2
  @@ -61,12 +61,13 @@
   
   package org.apache.commons.collections.iterators;
   
  -import junit.framework.*;
  -import java.io.Serializable;
   import java.util.ArrayList;
   import java.util.Iterator;
   import java.util.List;
   import java.util.NoSuchElementException;
  +
  +import junit.framework.Test;
  +import junit.framework.TestSuite;
   
   /**
    * Tests the ArrayIterator to ensure that the next() method will actually
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message