commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r637494 - in /commons/proper/collections/trunk/src/java/org/apache/commons/collections: ./ comparators/ iterators/ map/
Date Sat, 15 Mar 2008 23:31:29 GMT
Author: bayard
Date: Sat Mar 15 16:31:23 2008
New Revision: 637494

URL: http://svn.apache.org/viewvc?rev=637494&view=rev
Log:
Removing tabs

Modified:
    commons/proper/collections/trunk/src/java/org/apache/commons/collections/CursorableLinkedList.java
    commons/proper/collections/trunk/src/java/org/apache/commons/collections/PredicateUtils.java
    commons/proper/collections/trunk/src/java/org/apache/commons/collections/comparators/NullComparator.java
    commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/ArrayIterator.java
    commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/ArrayListIterator.java
    commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/IteratorChain.java
    commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/ObjectArrayListIterator.java
    commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/ObjectGraphIterator.java
    commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/SingletonIterator.java
    commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/CompositeMap.java

Modified: commons/proper/collections/trunk/src/java/org/apache/commons/collections/CursorableLinkedList.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/CursorableLinkedList.java?rev=637494&r1=637493&r2=637494&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/java/org/apache/commons/collections/CursorableLinkedList.java
(original)
+++ commons/proper/collections/trunk/src/java/org/apache/commons/collections/CursorableLinkedList.java
Sat Mar 15 16:31:23 2008
@@ -78,11 +78,11 @@
      * @param element element to be inserted.
      *
      * @throws ClassCastException if the class of the specified element
-     * 		  prevents it from being added to this list.
+     *           prevents it from being added to this list.
      * @throws IllegalArgumentException if some aspect of the specified
-     *		     element prevents it from being added to this list.
+     *             element prevents it from being added to this list.
      * @throws IndexOutOfBoundsException if the index is out of range
-     *		     (index < 0 || index > size()).
+     *             (index < 0 || index > size()).
      */
     public void add(int index, Object element) {
         if(index == _size) {
@@ -109,7 +109,7 @@
      * @return <tt>true</tt> if this list changed as a result of the call.
      *
      * @throws ClassCastException if the class of an element in the specified
-     * 	     collection prevents it from being added to this list.
+     *          collection prevents it from being added to this list.
      * @throws IllegalArgumentException if some aspect of an element in the
      *         specified collection prevents it from being added to this
      *         list.
@@ -137,18 +137,18 @@
      * collection is this list, and it's nonempty.)
      *
      * @param index index at which to insert first element from the specified
-     *	            collection.
+     *                collection.
      * @param c elements to be inserted into this list.
      * @return <tt>true</tt> if this list changed as a result of the call.
      *
      * @throws ClassCastException if the class of one of elements of the
-     * 		   specified collection prevents it from being added to this
-     * 		   list.
+     *            specified collection prevents it from being added to this
+     *            list.
      * @throws IllegalArgumentException if some aspect of one of elements of
      *         the specified collection prevents it from being added to
      *         this list.
      * @throws IndexOutOfBoundsException if the index is out of range (index
-     *	      &lt; 0 || index &gt; size()).
+     *          &lt; 0 || index &gt; size()).
      */
     public boolean addAll(int index, Collection c) {
         if(c.isEmpty()) {
@@ -291,7 +291,7 @@
      * @see #listIterator(int)
      * @see CursorableLinkedList.Cursor
      * @throws IndexOutOfBoundsException if the index is out of range (index
-     *	        &lt; 0 || index &gt; size()).
+     *            &lt; 0 || index &gt; size()).
      */
     public CursorableLinkedList.Cursor cursor(int i) {
         return new Cursor(i);
@@ -333,7 +333,7 @@
      * @return the element at the specified position in this list.
      *
      * @throws IndexOutOfBoundsException if the index is out of range (index
-     * 		  &lt; 0 || index &gt;= size()).
+     *           &lt; 0 || index &gt;= size()).
      */
     public Object get(int index) {
         return getListableAt(index).value();
@@ -450,7 +450,7 @@
      *
      * @param o element to search for.
      * @return the index in this list of the last occurrence of the specified
-     * 	       element, or -1 if this list does not contain this element.
+     *            element, or -1 if this list does not contain this element.
      */
     public int lastIndexOf(Object o) {
         int ndx = _size-1;
@@ -617,11 +617,11 @@
      * @return the element previously at the specified position.
      *
      * @throws ClassCastException if the class of the specified element
-     * 		  prevents it from being added to this list.
+     *           prevents it from being added to this list.
      * @throws IllegalArgumentException if some aspect of the specified
-     *	        element prevents it from being added to this list.
+     *            element prevents it from being added to this list.
      * @throws IndexOutOfBoundsException if the index is out of range
-     *		     (index &lt; 0 || index &gt;= size()).
+     *             (index &lt; 0 || index &gt;= size()).
      */
     public Object set(int index, Object element) {
         Listable elt = getListableAt(index);

Modified: commons/proper/collections/trunk/src/java/org/apache/commons/collections/PredicateUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/PredicateUtils.java?rev=637494&r1=637493&r2=637494&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/java/org/apache/commons/collections/PredicateUtils.java
(original)
+++ commons/proper/collections/trunk/src/java/org/apache/commons/collections/PredicateUtils.java
Sat Mar 15 16:31:23 2008
@@ -527,7 +527,7 @@
      * @param predicate  the predicate to call with the result of the transform
      * @return the predicate
      * @throws IllegalArgumentException if the transformer or the predicate is null
-	 * @since Commons Collections 3.1
+     * @since Commons Collections 3.1
      */
     public static Predicate transformedPredicate(Transformer transformer, Predicate predicate)
{
         return TransformedPredicate.getInstance(transformer, predicate);

Modified: commons/proper/collections/trunk/src/java/org/apache/commons/collections/comparators/NullComparator.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/comparators/NullComparator.java?rev=637494&r1=637493&r2=637494&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/java/org/apache/commons/collections/comparators/NullComparator.java
(original)
+++ commons/proper/collections/trunk/src/java/org/apache/commons/collections/comparators/NullComparator.java
Sat Mar 15 16:31:23 2008
@@ -168,7 +168,7 @@
         if(!obj.getClass().equals(this.getClass())) { return false; }
 
         NullComparator other = (NullComparator)obj;
-	
+    
         return ((this.nullsAreHigh == other.nullsAreHigh) &&
                 (this.nonNullComparator.equals(other.nonNullComparator)));
     }

Modified: commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/ArrayIterator.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/ArrayIterator.java?rev=637494&r1=637493&r2=637494&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/ArrayIterator.java
(original)
+++ commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/ArrayIterator.java
Sat Mar 15 16:31:23 2008
@@ -48,9 +48,9 @@
     /** The start index to loop from */
     protected int startIndex = 0;
     /** The end index to loop to */
-	protected int endIndex = 0;
+    protected int endIndex = 0;
     /** The current iterator index */
-	protected int index = 0;
+    protected int index = 0;
     
     // Constructors
     // ----------------------------------------------------------------------

Modified: commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/ArrayListIterator.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/ArrayListIterator.java?rev=637494&r1=637493&r2=637494&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/ArrayListIterator.java
(original)
+++ commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/ArrayListIterator.java
Sat Mar 15 16:31:23 2008
@@ -45,7 +45,7 @@
  * @author Phil Steitz
  */
 public class ArrayListIterator extends ArrayIterator
-		implements ListIterator, ResettableListIterator {
+        implements ListIterator, ResettableListIterator {
 
     /**
      * Holds the index of the last item returned by a call to <code>next()</code>

Modified: commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/IteratorChain.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/IteratorChain.java?rev=637494&r1=637493&r2=637494&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/IteratorChain.java
(original)
+++ commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/IteratorChain.java
Sat Mar 15 16:31:23 2008
@@ -50,7 +50,7 @@
  */
 public class IteratorChain implements Iterator {
 
-	/** The chain of iterators */
+    /** The chain of iterators */
     protected final List iteratorChain = new ArrayList();
     /** The index of the current iterator */
     protected int currentIteratorIndex = 0;

Modified: commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/ObjectArrayListIterator.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/ObjectArrayListIterator.java?rev=637494&r1=637493&r2=637494&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/ObjectArrayListIterator.java
(original)
+++ commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/ObjectArrayListIterator.java
Sat Mar 15 16:31:23 2008
@@ -42,7 +42,7 @@
  * @author Phil Steitz
  */
 public class ObjectArrayListIterator extends ObjectArrayIterator
-		implements ListIterator, ResettableListIterator {
+        implements ListIterator, ResettableListIterator {
 
     /**
      * Holds the index of the last item returned by a call to <code>next()</code>


Modified: commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/ObjectGraphIterator.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/ObjectGraphIterator.java?rev=637494&r1=637493&r2=637494&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/ObjectGraphIterator.java
(original)
+++ commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/ObjectGraphIterator.java
Sat Mar 15 16:31:23 2008
@@ -79,7 +79,7 @@
 
     /** The stack of iterators */
     protected final ArrayStack stack = new ArrayStack(8);
-	/** The root object in the tree */
+    /** The root object in the tree */
     protected Object root;
     /** The transformer to use */
     protected Transformer transformer;

Modified: commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/SingletonIterator.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/SingletonIterator.java?rev=637494&r1=637493&r2=637494&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/SingletonIterator.java
(original)
+++ commons/proper/collections/trunk/src/java/org/apache/commons/collections/iterators/SingletonIterator.java
Sat Mar 15 16:31:23 2008
@@ -33,7 +33,7 @@
  * @author Rodney Waldhoff
  */
 public class SingletonIterator
-		implements Iterator, ResettableIterator {
+        implements Iterator, ResettableIterator {
 
     /** Whether remove is allowed */
     private final boolean removeAllowed;

Modified: commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/CompositeMap.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/CompositeMap.java?rev=637494&r1=637493&r2=637494&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/CompositeMap.java
(original)
+++ commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/CompositeMap.java
Sat Mar 15 16:31:23 2008
@@ -185,7 +185,7 @@
      *         key.
      *
      * @throws ClassCastException if the key is of an inappropriate type for
-     * 		  this map (optional).
+     *           this map (optional).
      * @throws NullPointerException if the key is <tt>null</tt> and this map
      *            does not not permit <tt>null</tt> keys (optional).
      */
@@ -210,7 +210,7 @@
      * @return <tt>true</tt> if this map maps one or more keys to the
      *         specified value.
      * @throws ClassCastException if the value is of an inappropriate type for
-     * 		  this map (optional).
+     *           this map (optional).
      * @throws NullPointerException if the value is <tt>null</tt> and this map
      *            does not not permit <tt>null</tt> values (optional).
      */
@@ -263,12 +263,12 @@
      *
      * @param key key whose associated value is to be returned.
      * @return the value to which this map maps the specified key, or
-     *	       <tt>null</tt> if the map contains no mapping for this key.
+     *           <tt>null</tt> if the map contains no mapping for this key.
      *
      * @throws ClassCastException if the key is of an inappropriate type for
-     * 		  this map (optional).
+     *           this map (optional).
      * @throws NullPointerException key is <tt>null</tt> and this map does not
-     *		  not permit <tt>null</tt> keys (optional).
+     *          not permit <tt>null</tt> keys (optional).
      *
      * @see #containsKey(Object)
      */
@@ -329,16 +329,16 @@
      * @param key key with which the specified value is to be associated.
      * @param value value to be associated with the specified key.
      * @return previous value associated with specified key, or <tt>null</tt>
-     *	       if there was no mapping for key.  A <tt>null</tt> return can
-     *	       also indicate that the map previously associated <tt>null</tt>
-     *	       with the specified key, if the implementation supports
-     *	       <tt>null</tt> values.
+     *           if there was no mapping for key.  A <tt>null</tt> return can
+     *           also indicate that the map previously associated <tt>null</tt>
+     *           with the specified key, if the implementation supports
+     *           <tt>null</tt> values.
      *
      * @throws UnsupportedOperationException if no MapMutator has been specified
      * @throws ClassCastException if the class of the specified key or value
-     * 	          prevents it from being stored in this map.
+     *               prevents it from being stored in this map.
      * @throws IllegalArgumentException if some aspect of this key or value
-     *	          prevents it from being stored in this map.
+     *              prevents it from being stored in this map.
      * @throws NullPointerException this map does not permit <tt>null</tt>
      *            keys or values, and the specified key or value is
      *            <tt>null</tt>.
@@ -361,13 +361,13 @@
      * @param map Mappings to be stored in this map.
      *
      * @throws UnsupportedOperationException if the <tt>putAll</tt> method is
-     * 		  not supported by this map.
+     *           not supported by this map.
      *
      * @throws ClassCastException if the class of a key or value in the
-     * 	          specified map prevents it from being stored in this map.
+     *               specified map prevents it from being stored in this map.
      *
      * @throws IllegalArgumentException some aspect of a key or value in the
-     *	          specified map prevents it from being stored in this map.
+     *              specified map prevents it from being stored in this map.
      * @throws NullPointerException the specified map is <tt>null</tt>, or if
      *         this map does not permit <tt>null</tt> keys or values, and the
      *         specified map contains <tt>null</tt> keys or values.
@@ -395,10 +395,10 @@
      *
      * @param key key whose mapping is to be removed from the map.
      * @return previous value associated with specified key, or <tt>null</tt>
-     *	       if there was no mapping for key.
+     *           if there was no mapping for key.
      *
      * @throws ClassCastException if the key is of an inappropriate type for
-     * 		  the composited map (optional).
+     *           the composited map (optional).
      * @throws NullPointerException if the key is <tt>null</tt> and the composited
map
      *            does not not permit <tt>null</tt> keys (optional).
      * @throws UnsupportedOperationException if the <tt>remove</tt> method is
@@ -501,16 +501,16 @@
          * @param key  key with which the specified value is to be associated.
          * @param value  value to be associated with the specified key.
          * @return previous value associated with specified key, or <tt>null</tt>
-         *	       if there was no mapping for key.  A <tt>null</tt> return can
-         *	       also indicate that the map previously associated <tt>null</tt>
-         *	       with the specified key, if the implementation supports
-         *	       <tt>null</tt> values.
+         *           if there was no mapping for key.  A <tt>null</tt> return
can
+         *           also indicate that the map previously associated <tt>null</tt>
+         *           with the specified key, if the implementation supports
+         *           <tt>null</tt> values.
          *
          * @throws UnsupportedOperationException if not defined
          * @throws ClassCastException if the class of the specified key or value
-         * 	          prevents it from being stored in this map.
+         *               prevents it from being stored in this map.
          * @throws IllegalArgumentException if some aspect of this key or value
-         *	          prevents it from being stored in this map.
+         *              prevents it from being stored in this map.
          * @throws NullPointerException this map does not permit <tt>null</tt>
          *            keys or values, and the specified key or value is
          *            <tt>null</tt>.
@@ -526,9 +526,9 @@
          *
          * @throws UnsupportedOperationException if not defined
          * @throws ClassCastException if the class of the specified key or value
-         * 	          prevents it from being stored in this map.
+         *               prevents it from being stored in this map.
          * @throws IllegalArgumentException if some aspect of this key or value
-         *	          prevents it from being stored in this map.
+         *              prevents it from being stored in this map.
          * @throws NullPointerException this map does not permit <tt>null</tt>
          *            keys or values, and the specified key or value is
          *            <tt>null</tt>.



Mime
View raw message