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/java/org/apache/commons/collections/comparators NullComparator.java
Date Sat, 12 Oct 2002 22:15:21 GMT
scolebourne    2002/10/12 15:15:21

  Modified:    collections/src/java/org/apache/commons/collections
                        MultiHashMap.java UniqueFilterIterator.java
                        IteratorEnumeration.java DoubleOrderedMap.java
                        FastTreeMap.java BagUtils.java ReferenceMap.java
                        UnboundedFifoBuffer.java BufferUtils.java
                        FastHashMap.java EnumerationIterator.java
                        SingletonIterator.java TransformIterator.java
                        FastArrayList.java FilterListIterator.java
                        SoftRefHashMap.java FilterIterator.java
                        IteratorUtils.java CursorableLinkedList.java
                        StaticBucketMap.java ArrayIterator.java
                        SequencedHashMap.java LRUMap.java Factory.java
                        ArrayStack.java SetUtils.java BeanMap.java
                        DefaultMapBag.java
               collections/src/java/org/apache/commons/collections/primitives
                        AbstractLongArrayList.java LongArrayList.java
                        FloatArrayList.java AbstractLongList.java
                        AbstractShortList.java UnsignedShortArrayList.java
                        UnsignedByteArrayList.java ShortArrayList.java
                        UnsignedIntArrayList.java
                        AbstractShortArrayList.java AbstractIntList.java
                        IntArrayList.java AbstractIntArrayList.java
               collections/src/java/org/apache/commons/collections/iterators
                        UniqueFilterIterator.java TransformIterator.java
               collections/src/java/org/apache/commons/collections/comparators
                        NullComparator.java
  Log:
  Fix unused imports and javadoc links (patch from Steve Downey)
  
  Revision  Changes    Path
  1.6       +11 -7     jakarta-commons/collections/src/java/org/apache/commons/collections/MultiHashMap.java
  
  Index: MultiHashMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/MultiHashMap.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- MultiHashMap.java	12 Oct 2002 22:04:59 -0000	1.5
  +++ MultiHashMap.java	12 Oct 2002 22:15:18 -0000	1.6
  @@ -60,12 +60,16 @@
    */
   package org.apache.commons.collections;
   
  -import java.util.*;
  -import java.io.*;
  +import java.util.ArrayList;
  +import java.util.Collection;
  +import java.util.HashMap;
  +import java.util.Iterator;
  +import java.util.Map;
  +import java.util.Set;
   /** 
    * <code>MultiHashMap</code> is the default implementation of the 
  - * {@link MultiMap} interface. A <code>MultiMap</code> is a Map
  - * with slightly different semantics.
  + * {@link org.apache.commons.collections.MultiMap MultiMap} interface.
  + * A <code>MultiMap</code> is a Map with slightly different semantics.
    * Instead of returning an Object, it returns a Collection.
    * So for example, you can put( key, new Integer(1) ); 
    * and then a Object get( key ); will return you a Collection 
  
  
  
  1.4       +4 -5      jakarta-commons/collections/src/java/org/apache/commons/collections/UniqueFilterIterator.java
  
  Index: UniqueFilterIterator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/UniqueFilterIterator.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- UniqueFilterIterator.java	15 Aug 2002 20:04:31 -0000	1.3
  +++ UniqueFilterIterator.java	12 Oct 2002 22:15:18 -0000	1.4
  @@ -62,7 +62,6 @@
   
   import java.util.HashSet;
   import java.util.Iterator;
  -import java.util.NoSuchElementException;
   
   /** A FilterIterator which only returns "unique" Objects.  Internally,
     * the Iterator maintains a Set of objects it has already encountered,
  
  
  
  1.7       +4 -5      jakarta-commons/collections/src/java/org/apache/commons/collections/IteratorEnumeration.java
  
  Index: IteratorEnumeration.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/IteratorEnumeration.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- IteratorEnumeration.java	15 Aug 2002 23:13:51 -0000	1.6
  +++ IteratorEnumeration.java	12 Oct 2002 22:15:18 -0000	1.7
  @@ -60,10 +60,9 @@
    */
   package org.apache.commons.collections;
   
  -import java.util.Enumeration;
   import java.util.Iterator;
   
  -/** Adapter to make an {@link Iterator Iterator} instance appear to be an {@link Enumeration
Enumeration} instances
  +/** Adapter to make an {@link Iterator Iterator} instance appear to be an {@link java.util.Enumeration
Enumeration} instances
     *
     * @since 1.0
     * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
  
  
  
  1.3       +12 -6     jakarta-commons/collections/src/java/org/apache/commons/collections/DoubleOrderedMap.java
  
  Index: DoubleOrderedMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/DoubleOrderedMap.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DoubleOrderedMap.java	12 Jun 2002 03:59:15 -0000	1.2
  +++ DoubleOrderedMap.java	12 Oct 2002 22:15:18 -0000	1.3
  @@ -63,9 +63,15 @@
   
   
   
  -import java.lang.reflect.Array;
  -
  -import java.util.*;
  +import java.util.AbstractCollection;
  +import java.util.AbstractMap;
  +import java.util.AbstractSet;
  +import java.util.Collection;
  +import java.util.ConcurrentModificationException;
  +import java.util.Iterator;
  +import java.util.Map;
  +import java.util.NoSuchElementException;
  +import java.util.Set;
   
   
   /**
  
  
  
  1.10      +4 -6      jakarta-commons/collections/src/java/org/apache/commons/collections/FastTreeMap.java
  
  Index: FastTreeMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/FastTreeMap.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- FastTreeMap.java	15 Aug 2002 20:04:31 -0000	1.9
  +++ FastTreeMap.java	12 Oct 2002 22:15:18 -0000	1.10
  @@ -63,13 +63,11 @@
   package org.apache.commons.collections;
   
   
  -import java.io.Serializable;
   import java.util.Collection;
   import java.util.Comparator;
   import java.util.ConcurrentModificationException;
   import java.util.Iterator;
   import java.util.Map;
  -import java.util.Map.Entry;
   import java.util.Set;
   import java.util.SortedMap;
   import java.util.TreeMap;
  
  
  
  1.6       +4 -5      jakarta-commons/collections/src/java/org/apache/commons/collections/BagUtils.java
  
  Index: BagUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/BagUtils.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- BagUtils.java	18 Aug 2002 20:11:37 -0000	1.5
  +++ BagUtils.java	12 Oct 2002 22:15:18 -0000	1.6
  @@ -61,7 +61,6 @@
   package org.apache.commons.collections;
   
   
  -import java.util.Collection;
   import java.util.Comparator;
   import java.util.Set;
   
  
  
  
  1.7       +4 -6      jakarta-commons/collections/src/java/org/apache/commons/collections/ReferenceMap.java
  
  Index: ReferenceMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/ReferenceMap.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ReferenceMap.java	19 Aug 2002 19:44:59 -0000	1.6
  +++ ReferenceMap.java	12 Oct 2002 22:15:18 -0000	1.7
  @@ -64,7 +64,6 @@
   import java.io.IOException;
   import java.io.ObjectInputStream;
   import java.io.ObjectOutputStream;
  -import java.io.Serializable;
   import java.lang.ref.Reference;
   import java.lang.ref.ReferenceQueue;
   import java.lang.ref.SoftReference;
  @@ -75,7 +74,6 @@
   import java.util.ArrayList;
   import java.util.Arrays;
   import java.util.Collection;
  -import java.util.Collections;
   import java.util.ConcurrentModificationException;
   import java.util.Iterator;
   import java.util.Map;
  
  
  
  1.4       +4 -5      jakarta-commons/collections/src/java/org/apache/commons/collections/UnboundedFifoBuffer.java
  
  Index: UnboundedFifoBuffer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/UnboundedFifoBuffer.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- UnboundedFifoBuffer.java	3 Jul 2002 02:16:48 -0000	1.3
  +++ UnboundedFifoBuffer.java	12 Oct 2002 22:15:18 -0000	1.4
  @@ -62,7 +62,6 @@
   
   
   import java.util.AbstractCollection;
  -import java.util.Collection;
   import java.util.Iterator;
   import java.util.NoSuchElementException;
   
  
  
  
  1.8       +4 -5      jakarta-commons/collections/src/java/org/apache/commons/collections/BufferUtils.java
  
  Index: BufferUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/BufferUtils.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- BufferUtils.java	18 Aug 2002 20:11:37 -0000	1.7
  +++ BufferUtils.java	12 Oct 2002 22:15:18 -0000	1.8
  @@ -62,7 +62,6 @@
   
   
   import java.util.Collection;
  -import java.util.Iterator;
   
   
   /**
  
  
  
  1.10      +4 -6      jakarta-commons/collections/src/java/org/apache/commons/collections/FastHashMap.java
  
  Index: FastHashMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/FastHashMap.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- FastHashMap.java	15 Aug 2002 20:04:31 -0000	1.9
  +++ FastHashMap.java	12 Oct 2002 22:15:18 -0000	1.10
  @@ -63,13 +63,11 @@
   package org.apache.commons.collections;
   
   
  -import java.io.Serializable;
   import java.util.Collection;
   import java.util.ConcurrentModificationException;
   import java.util.HashMap;
   import java.util.Iterator;
   import java.util.Map;
  -import java.util.Map.Entry;
   import java.util.Set;
   
   
  
  
  
  1.7       +4 -5      jakarta-commons/collections/src/java/org/apache/commons/collections/EnumerationIterator.java
  
  Index: EnumerationIterator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/EnumerationIterator.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- EnumerationIterator.java	15 Aug 2002 23:13:51 -0000	1.6
  +++ EnumerationIterator.java	12 Oct 2002 22:15:18 -0000	1.7
  @@ -62,10 +62,9 @@
   
   import java.util.Collection;
   import java.util.Enumeration;
  -import java.util.Iterator;
   
   /** Adapter to make {@link Enumeration Enumeration} instances appear
  -  * to be {@link Iterator Iterator} instances.
  +  * to be {@link java.util.Iterator Iterator} instances.
     *
     * @since 1.0
     * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
  
  
  
  1.8       +6 -7      jakarta-commons/collections/src/java/org/apache/commons/collections/SingletonIterator.java
  
  Index: SingletonIterator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/SingletonIterator.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- SingletonIterator.java	15 Aug 2002 23:13:51 -0000	1.7
  +++ SingletonIterator.java	12 Oct 2002 22:15:18 -0000	1.8
  @@ -60,10 +60,9 @@
    */
   package org.apache.commons.collections;
   
  -import java.util.Iterator;
  -import java.util.NoSuchElementException;
   
  -/** <p><code>SingletonIterator</code> is an {@link Iterator} over a single

  +
  +/** <p><code>SingletonIterator</code> is an {@link java.util.Iterator
Iterator} over a single 
     * object instance.</p>
     *
     * @since 2.0
  
  
  
  1.7       +3 -4      jakarta-commons/collections/src/java/org/apache/commons/collections/TransformIterator.java
  
  Index: TransformIterator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/TransformIterator.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TransformIterator.java	15 Aug 2002 23:13:51 -0000	1.6
  +++ TransformIterator.java	12 Oct 2002 22:15:18 -0000	1.7
  @@ -60,7 +60,6 @@
    */
   package org.apache.commons.collections;
   
  -import java.util.Enumeration;
   import java.util.Iterator;
   
   /** A Proxy {@link Iterator Iterator} which uses a {@link Transformer Transformer} instance
to 
  
  
  
  1.9       +4 -5      jakarta-commons/collections/src/java/org/apache/commons/collections/FastArrayList.java
  
  Index: FastArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/FastArrayList.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- FastArrayList.java	15 Aug 2002 20:04:31 -0000	1.8
  +++ FastArrayList.java	12 Oct 2002 22:15:18 -0000	1.9
  @@ -63,7 +63,6 @@
   package org.apache.commons.collections;
   
   
  -import java.io.Serializable;
   import java.util.ArrayList;
   import java.util.Collection;
   import java.util.ConcurrentModificationException;
  
  
  
  1.7       +4 -5      jakarta-commons/collections/src/java/org/apache/commons/collections/FilterListIterator.java
  
  Index: FilterListIterator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/FilterListIterator.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- FilterListIterator.java	15 Aug 2002 23:13:51 -0000	1.6
  +++ FilterListIterator.java	12 Oct 2002 22:15:18 -0000	1.7
  @@ -61,7 +61,6 @@
   package org.apache.commons.collections;
   
   import java.util.ListIterator;
  -import java.util.NoSuchElementException;
   
   /** 
     * A proxy {@link ListIterator ListIterator} which 
  
  
  
  1.6       +12 -6     jakarta-commons/collections/src/java/org/apache/commons/collections/SoftRefHashMap.java
  
  Index: SoftRefHashMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/SoftRefHashMap.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- SoftRefHashMap.java	12 Aug 2002 18:24:33 -0000	1.5
  +++ SoftRefHashMap.java	12 Oct 2002 22:15:18 -0000	1.6
  @@ -60,9 +60,15 @@
    */
   package org.apache.commons.collections;
   
  -import java.lang.ref.*;
  -import java.lang.reflect.*;
  -import java.util.*;
  +import java.lang.ref.Reference;
  +import java.lang.ref.SoftReference;
  +import java.util.Collection;
  +import java.util.HashMap;
  +import java.util.HashSet;
  +import java.util.Iterator;
  +import java.util.Map;
  +import java.util.Set;
  +import java.util.TreeSet;
   
   /** <p>
     * HashMap with SoftReference links to values which allows the values of the Map
  
  
  
  1.8       +3 -4      jakarta-commons/collections/src/java/org/apache/commons/collections/FilterIterator.java
  
  Index: FilterIterator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/FilterIterator.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- FilterIterator.java	15 Aug 2002 23:13:51 -0000	1.7
  +++ FilterIterator.java	12 Oct 2002 22:15:18 -0000	1.8
  @@ -61,7 +61,6 @@
   package org.apache.commons.collections;
   
   import java.util.Iterator;
  -import java.util.NoSuchElementException;
   
   /** A Proxy {@link Iterator Iterator} which takes a {@link Predicate Predicate} instance
to filter
     * out objects from an underlying {@link Iterator Iterator} instance.
  
  
  
  1.4       +4 -5      jakarta-commons/collections/src/java/org/apache/commons/collections/IteratorUtils.java
  
  Index: IteratorUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/IteratorUtils.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- IteratorUtils.java	19 Aug 2002 21:56:18 -0000	1.3
  +++ IteratorUtils.java	12 Oct 2002 22:15:18 -0000	1.4
  @@ -64,7 +64,6 @@
   import java.lang.reflect.Method;
   import java.util.ArrayList;
   import java.util.Collection;
  -import java.util.Collections;
   import java.util.Comparator;
   import java.util.Dictionary;
   import java.util.Enumeration;
  
  
  
  1.10      +4 -6      jakarta-commons/collections/src/java/org/apache/commons/collections/CursorableLinkedList.java
  
  Index: CursorableLinkedList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/CursorableLinkedList.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- CursorableLinkedList.java	21 Jun 2002 03:26:15 -0000	1.9
  +++ CursorableLinkedList.java	12 Oct 2002 22:15:19 -0000	1.10
  @@ -75,8 +75,6 @@
   import java.io.ObjectOutputStream;
   import java.io.IOException;
   import java.lang.reflect.Array;
  -import java.util.LinkedList; // only used in javadoc comments, javadoc won't find it otherwise
  -import java.lang.UnsupportedOperationException; // stops a javadoc warning
   
   /**
    * A doubly-linked list implementation of the {@link List} interface,
  
  
  
  1.5       +4 -5      jakarta-commons/collections/src/java/org/apache/commons/collections/StaticBucketMap.java
  
  Index: StaticBucketMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/StaticBucketMap.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- StaticBucketMap.java	15 Aug 2002 20:04:31 -0000	1.4
  +++ StaticBucketMap.java	12 Oct 2002 22:15:19 -0000	1.5
  @@ -63,7 +63,6 @@
   import java.util.AbstractCollection;
   import java.util.AbstractSet;
   import java.util.Collection;
  -import java.util.HashSet;
   import java.util.Iterator;
   import java.util.Map;
   import java.util.Set;
  
  
  
  1.17      +5 -8      jakarta-commons/collections/src/java/org/apache/commons/collections/ArrayIterator.java
  
  Index: ArrayIterator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/ArrayIterator.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- ArrayIterator.java	15 Aug 2002 23:13:51 -0000	1.16
  +++ ArrayIterator.java	12 Oct 2002 22:15:19 -0000	1.17
  @@ -60,11 +60,8 @@
    */
   package org.apache.commons.collections;
   
  -import java.lang.reflect.Array;
  -import java.util.Iterator;
  -import java.util.NoSuchElementException;
   
  -/** Implements an {@link Iterator} over an array of objects.
  +/** Implements an {@link java.util.Iterator} over an array of objects.
     *
     * @since 1.0
     * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
  
  
  
  1.14      +3 -4      jakarta-commons/collections/src/java/org/apache/commons/collections/SequencedHashMap.java
  
  Index: SequencedHashMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/SequencedHashMap.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- SequencedHashMap.java	15 Aug 2002 20:04:31 -0000	1.13
  +++ SequencedHashMap.java	12 Oct 2002 22:15:19 -0000	1.14
  @@ -70,7 +70,6 @@
   import java.util.HashMap;
   import java.util.Iterator;
   import java.util.AbstractCollection;
  -import java.util.AbstractMap;
   import java.util.AbstractSet;
   import java.util.ArrayList;
   import java.util.List;
  
  
  
  1.17      +3 -5      jakarta-commons/collections/src/java/org/apache/commons/collections/LRUMap.java
  
  Index: LRUMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/LRUMap.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- LRUMap.java	12 Jun 2002 03:59:15 -0000	1.16
  +++ LRUMap.java	12 Oct 2002 22:15:19 -0000	1.17
  @@ -63,9 +63,7 @@
   import java.io.Externalizable;
   import java.io.IOException;
   import java.io.ObjectInput;
  -import java.io.ObjectInputStream;
   import java.io.ObjectOutput;
  -import java.io.ObjectOutputStream;
   import java.util.Iterator;
   
   /**
  
  
  
  1.3       +5 -6      jakarta-commons/collections/src/java/org/apache/commons/collections/Factory.java
  
  Index: Factory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/Factory.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Factory.java	15 Aug 2002 20:09:37 -0000	1.2
  +++ Factory.java	12 Oct 2002 22:15:19 -0000	1.3
  @@ -59,8 +59,7 @@
    */
   package org.apache.commons.collections;
   
  -import java.util.*;
  -import java.lang.reflect.*;
  +
   
   /**
    * Factory
  
  
  
  1.9       +4 -5      jakarta-commons/collections/src/java/org/apache/commons/collections/ArrayStack.java
  
  Index: ArrayStack.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/ArrayStack.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- ArrayStack.java	15 Aug 2002 20:04:31 -0000	1.8
  +++ ArrayStack.java	12 Oct 2002 22:15:19 -0000	1.9
  @@ -65,7 +65,6 @@
   
   import java.util.ArrayList;
   import java.util.EmptyStackException;
  -import java.util.Stack; // only used in javadoc comments, javadoc won't find it otherwise
   
   /**
    * An implementation of the {@link java.util.Stack} API that is based on an
  
  
  
  1.6       +4 -6      jakarta-commons/collections/src/java/org/apache/commons/collections/SetUtils.java
  
  Index: SetUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/SetUtils.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- SetUtils.java	18 Aug 2002 20:11:37 -0000	1.5
  +++ SetUtils.java	12 Oct 2002 22:15:19 -0000	1.6
  @@ -61,9 +61,7 @@
   package org.apache.commons.collections;
   
   
  -import java.util.Collection;
   import java.util.Comparator;
  -import java.util.Iterator;
   import java.util.Set;
   import java.util.SortedSet;
   
  
  
  
  1.14      +3 -4      jakarta-commons/collections/src/java/org/apache/commons/collections/BeanMap.java
  
  Index: BeanMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/BeanMap.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- BeanMap.java	15 Aug 2002 20:04:31 -0000	1.13
  +++ BeanMap.java	12 Oct 2002 22:15:19 -0000	1.14
  @@ -74,7 +74,6 @@
   import java.util.Collections;
   import java.util.HashMap;
   import java.util.Iterator;
  -import java.util.Map;
   import java.util.Set;
   
   
  
  
  
  1.6       +3 -4      jakarta-commons/collections/src/java/org/apache/commons/collections/DefaultMapBag.java
  
  Index: DefaultMapBag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/DefaultMapBag.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- DefaultMapBag.java	15 Aug 2002 20:04:31 -0000	1.5
  +++ DefaultMapBag.java	12 Oct 2002 22:15:19 -0000	1.6
  @@ -68,7 +68,6 @@
   import java.util.Iterator;
   import java.util.List;
   import java.util.Map;
  -import java.util.NoSuchElementException;
   import java.util.Set;
   
   /**
  
  
  
  1.6       +5 -10     jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/AbstractLongArrayList.java
  
  Index: AbstractLongArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/AbstractLongArrayList.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- AbstractLongArrayList.java	22 Aug 2002 01:50:54 -0000	1.5
  +++ AbstractLongArrayList.java	12 Oct 2002 22:15:20 -0000	1.6
  @@ -61,12 +61,7 @@
   
   package org.apache.commons.collections.primitives;
   
  -import java.io.Serializable;
  -import java.util.AbstractList;
  -import java.util.Collection;
  -import java.util.Iterator;
  -import java.util.List;
  -import java.util.ListIterator;
  +
   
   /**
    * Abstract base class for lists of primitive <Code>long</Code> elements
  
  
  
  1.7       +5 -10     jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/LongArrayList.java
  
  Index: LongArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/LongArrayList.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- LongArrayList.java	7 Sep 2002 20:33:32 -0000	1.6
  +++ LongArrayList.java	12 Oct 2002 22:15:20 -0000	1.7
  @@ -65,15 +65,10 @@
   import java.io.ObjectInputStream;
   import java.io.ObjectOutputStream;
   import java.io.Serializable;
  -import java.util.AbstractList;
  -import java.util.Collection;
  -import java.util.Iterator;
  -import java.util.List;
  -import java.util.ListIterator;
   
   /**
    * A list of <Code>long</Code> elements backed by a <Code>long</Code>
array.
  - * This class implements the {@link List} interface for an array of 
  + * This class implements the {@link java.util.List List} interface for an array of 
    * <Code>long</Code> values.  This class uses less memory than an
    * {@link java.util.ArrayList} of {@link Long} values and allows for
    * better compile-time type checking.<P>
  
  
  
  1.6       +4 -7      jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/FloatArrayList.java
  
  Index: FloatArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/FloatArrayList.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- FloatArrayList.java	7 Sep 2002 20:33:32 -0000	1.5
  +++ FloatArrayList.java	12 Oct 2002 22:15:20 -0000	1.6
  @@ -66,10 +66,7 @@
   import java.io.ObjectOutputStream;
   import java.io.Serializable;
   import java.util.AbstractList;
  -import java.util.Collection;
  -import java.util.Iterator;
   import java.util.List;
  -import java.util.ListIterator;
   
   /**
    * A list of <Code>float</Code> elements backed by a <Code>float</Code>
array.
  
  
  
  1.4       +5 -10     jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/AbstractLongList.java
  
  Index: AbstractLongList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/AbstractLongList.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AbstractLongList.java	22 Aug 2002 01:50:54 -0000	1.3
  +++ AbstractLongList.java	12 Oct 2002 22:15:20 -0000	1.4
  @@ -61,17 +61,12 @@
   
   package org.apache.commons.collections.primitives;
   
  -import java.io.Serializable;
   import java.util.AbstractList;
  -import java.util.Collection;
  -import java.util.Iterator;
  -import java.util.List;
  -import java.util.ListIterator;
   
   /**
    * Abstract base class for lists of primitive <Code>long</Code> elements.<P>
    *
  - * The {@link List} methods are all implemented, but they forward to 
  + * The {@link java.util.List List} methods are all implemented, but they forward to 
    * abstract methods that operate on <Code>long</Code> elements.  For 
    * instance, the {@link #get(int)} method simply forwards to 
    * {@link #getLong(int)}.  The primitive <Code>long</Code> that is 
  
  
  
  1.4       +5 -10     jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/AbstractShortList.java
  
  Index: AbstractShortList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/AbstractShortList.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AbstractShortList.java	22 Aug 2002 01:50:54 -0000	1.3
  +++ AbstractShortList.java	12 Oct 2002 22:15:20 -0000	1.4
  @@ -61,17 +61,12 @@
   
   package org.apache.commons.collections.primitives;
   
  -import java.io.Serializable;
   import java.util.AbstractList;
  -import java.util.Collection;
  -import java.util.Iterator;
  -import java.util.List;
  -import java.util.ListIterator;
   
   /**
    * Abstract base class for lists of primitive <Code>short</Code> elements.<P>
    *
  - * The {@link List} methods are all implemented, but they forward to 
  + * The {@link java.util.List List} methods are all implemented, but they forward to 
    * abstract methods that operate on <Code>short</Code> elements.  For 
    * instance, the {@link #get(int)} method simply forwards to 
    * {@link #getShort(int)}.  The primitive <Code>short</Code> that is 
  
  
  
  1.7       +4 -9      jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/UnsignedShortArrayList.java
  
  Index: UnsignedShortArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/UnsignedShortArrayList.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- UnsignedShortArrayList.java	7 Sep 2002 20:33:32 -0000	1.6
  +++ UnsignedShortArrayList.java	12 Oct 2002 22:15:20 -0000	1.7
  @@ -65,11 +65,6 @@
   import java.io.ObjectInputStream;
   import java.io.ObjectOutputStream;
   import java.io.Serializable;
  -import java.util.AbstractList;
  -import java.util.Collection;
  -import java.util.Iterator;
  -import java.util.List;
  -import java.util.ListIterator;
   
   /**
    * A list of unsigned 16-bit values backed by a <Code>short</Code> array.
  
  
  
  1.7       +4 -9      jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/UnsignedByteArrayList.java
  
  Index: UnsignedByteArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/UnsignedByteArrayList.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- UnsignedByteArrayList.java	7 Sep 2002 20:33:32 -0000	1.6
  +++ UnsignedByteArrayList.java	12 Oct 2002 22:15:20 -0000	1.7
  @@ -65,11 +65,6 @@
   import java.io.ObjectInputStream;
   import java.io.ObjectOutputStream;
   import java.io.Serializable;
  -import java.util.AbstractList;
  -import java.util.Collection;
  -import java.util.Iterator;
  -import java.util.List;
  -import java.util.ListIterator;
   
   /**
    * A list of unsigned 8-bit values backed by a <Code>byte</Code> array.
  
  
  
  1.7       +5 -10     jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/ShortArrayList.java
  
  Index: ShortArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/ShortArrayList.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ShortArrayList.java	7 Sep 2002 20:33:32 -0000	1.6
  +++ ShortArrayList.java	12 Oct 2002 22:15:20 -0000	1.7
  @@ -65,15 +65,10 @@
   import java.io.ObjectInputStream;
   import java.io.ObjectOutputStream;
   import java.io.Serializable;
  -import java.util.AbstractList;
  -import java.util.Collection;
  -import java.util.Iterator;
  -import java.util.List;
  -import java.util.ListIterator;
   
   /**
    * A list of <Code>short</Code> elements backed by an <Code>short</Code>
array.
  - * This class implements the {@link List} interface for an array of 
  + * This class implements the {@link java.util.List List} interface for an array of 
    * <Code>short</Code> values.  This class uses less memory than an
    * {@link java.util.ArrayList} of {@link Short} values and allows for
    * better compile-time type checking.<P>
  
  
  
  1.7       +4 -9      jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/UnsignedIntArrayList.java
  
  Index: UnsignedIntArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/UnsignedIntArrayList.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- UnsignedIntArrayList.java	7 Sep 2002 20:33:32 -0000	1.6
  +++ UnsignedIntArrayList.java	12 Oct 2002 22:15:20 -0000	1.7
  @@ -65,11 +65,6 @@
   import java.io.ObjectInputStream;
   import java.io.ObjectOutputStream;
   import java.io.Serializable;
  -import java.util.AbstractList;
  -import java.util.Collection;
  -import java.util.Iterator;
  -import java.util.List;
  -import java.util.ListIterator;
   
   /**
    * A list of unsigned 32-bit values backed by an <Code>int</Code> array.
  
  
  
  1.6       +5 -10     jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/AbstractShortArrayList.java
  
  Index: AbstractShortArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/AbstractShortArrayList.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- AbstractShortArrayList.java	22 Aug 2002 01:50:54 -0000	1.5
  +++ AbstractShortArrayList.java	12 Oct 2002 22:15:20 -0000	1.6
  @@ -61,12 +61,7 @@
   
   package org.apache.commons.collections.primitives;
   
  -import java.io.Serializable;
  -import java.util.AbstractList;
  -import java.util.Collection;
  -import java.util.Iterator;
  -import java.util.List;
  -import java.util.ListIterator;
  +
   
   /**
    * Abstract base class for lists of primitive <Code>short</Code> elements
  
  
  
  1.4       +5 -10     jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/AbstractIntList.java
  
  Index: AbstractIntList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/AbstractIntList.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AbstractIntList.java	22 Aug 2002 01:50:54 -0000	1.3
  +++ AbstractIntList.java	12 Oct 2002 22:15:20 -0000	1.4
  @@ -61,17 +61,12 @@
   
   package org.apache.commons.collections.primitives;
   
  -import java.io.Serializable;
   import java.util.AbstractList;
  -import java.util.Collection;
  -import java.util.Iterator;
  -import java.util.List;
  -import java.util.ListIterator;
   
   /**
    * Abstract base class for lists of primitive <Code>int</Code> elements.<P>
    *
  - * The {@link List} methods are all implemented, but they forward to 
  + * The {@link java.util.List List} methods are all implemented, but they forward to 
    * abstract methods that operate on <Code>int</Code> elements.  For 
    * instance, the {@link #get(int)} method simply forwards to 
    * {@link #getInt(int)}.  The primitive <Code>int</Code> that is 
  
  
  
  1.7       +5 -10     jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/IntArrayList.java
  
  Index: IntArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/IntArrayList.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- IntArrayList.java	7 Sep 2002 20:33:32 -0000	1.6
  +++ IntArrayList.java	12 Oct 2002 22:15:20 -0000	1.7
  @@ -65,15 +65,10 @@
   import java.io.ObjectInputStream;
   import java.io.ObjectOutputStream;
   import java.io.Serializable;
  -import java.util.AbstractList;
  -import java.util.Collection;
  -import java.util.Iterator;
  -import java.util.List;
  -import java.util.ListIterator;
   
   /**
    * A list of <Code>int</Code> elements backed by an <Code>int</Code>
array.
  - * This class implements the {@link List} interface for an array of 
  + * This class implements the {@link java.util.List List} interface for an array of 
    * <Code>int</Code> values.  This class uses less memory than an
    * {@link java.util.ArrayList} of {@link Integer} values and allows for
    * better compile-time type checking.<P>
  
  
  
  1.6       +5 -10     jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/AbstractIntArrayList.java
  
  Index: AbstractIntArrayList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/AbstractIntArrayList.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- AbstractIntArrayList.java	22 Aug 2002 01:50:54 -0000	1.5
  +++ AbstractIntArrayList.java	12 Oct 2002 22:15:20 -0000	1.6
  @@ -61,12 +61,7 @@
   
   package org.apache.commons.collections.primitives;
   
  -import java.io.Serializable;
  -import java.util.AbstractList;
  -import java.util.Collection;
  -import java.util.Iterator;
  -import java.util.List;
  -import java.util.ListIterator;
  +
   
   /**
    * Abstract base class for lists of primitive <Code>int</Code> elements
  
  
  
  1.2       +4 -5      jakarta-commons/collections/src/java/org/apache/commons/collections/iterators/UniqueFilterIterator.java
  
  Index: UniqueFilterIterator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/iterators/UniqueFilterIterator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- UniqueFilterIterator.java	15 Aug 2002 23:13:51 -0000	1.1
  +++ UniqueFilterIterator.java	12 Oct 2002 22:15:21 -0000	1.2
  @@ -62,7 +62,6 @@
   
   import java.util.HashSet;
   import java.util.Iterator;
  -import java.util.NoSuchElementException;
   import org.apache.commons.collections.Predicate;
   
   /** A FilterIterator which only returns "unique" Objects.  Internally,
  
  
  
  1.2       +3 -4      jakarta-commons/collections/src/java/org/apache/commons/collections/iterators/TransformIterator.java
  
  Index: TransformIterator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/iterators/TransformIterator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TransformIterator.java	15 Aug 2002 23:13:51 -0000	1.1
  +++ TransformIterator.java	12 Oct 2002 22:15:21 -0000	1.2
  @@ -60,7 +60,6 @@
    */
   package org.apache.commons.collections.iterators;
   
  -import java.util.Enumeration;
   import java.util.Iterator;
   import org.apache.commons.collections.Transformer;
   
  
  
  
  1.4       +1 -2      jakarta-commons/collections/src/java/org/apache/commons/collections/comparators/NullComparator.java
  
  Index: NullComparator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/comparators/NullComparator.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- NullComparator.java	11 Jun 2002 02:41:47 -0000	1.3
  +++ NullComparator.java	12 Oct 2002 22:15:21 -0000	1.4
  @@ -55,7 +55,6 @@
    */
   
   import java.io.Serializable;
  -import java.lang.Comparable;
   import java.util.Comparator;
   
   /**
  
  
  

--
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