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/lang/src/java/org/apache/commons/lang ArrayUtils.java
Date Sun, 23 Mar 2003 17:57:43 GMT
scolebourne    2003/03/23 09:57:43

  Modified:    lang/src/java/org/apache/commons/lang ArrayUtils.java
  Log:
  Remove reverseArray as reverse already exists!
  
  Revision  Changes    Path
  1.10      +1 -22     jakarta-commons/lang/src/java/org/apache/commons/lang/ArrayUtils.java
  
  Index: ArrayUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/ArrayUtils.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ArrayUtils.java	23 Mar 2003 04:58:47 -0000	1.9
  +++ ArrayUtils.java	23 Mar 2003 17:57:42 -0000	1.10
  @@ -1012,25 +1012,4 @@
           return (indexOf(array, objectToFind) != -1);
       }
       
  -    /**
  -     * <p>Reverses an array.</p>
  -     *
  -     * <p>TAKEN FROM CollectionsUtils.</p>
  -     *
  -     * @param array  the array to reverse
  -     */
  -    public static void reverseArray(Object[] array) {
  -        int i = 0;
  -        int j = array.length - 1;
  -        Object tmp;
  -
  -        while (j > i) {
  -            tmp = array[j];
  -            array[j] = array[i];
  -            array[i] = tmp;
  -            j--;
  -            i++;
  -        }
  -    }
  -
   }
  
  
  

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


Mime
View raw message