scolebourne    2003/06/20 01:03:51

  Modified:    lang/src/java/org/apache/commons/lang ArrayUtils.java
  Log:
  Remove unused code
  
  Revision  Changes    Path
  1.13      +1 -106    
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.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- ArrayUtils.java   16 Jun 2003 02:28:16 -0000      1.12
  +++ ArrayUtils.java   20 Jun 2003 08:03:51 -0000      1.13
  @@ -220,111 +220,6 @@
           return map;
       }
       
  -//    /**
  -//     * <p>Output the array as a String.</p>
  -//     *
  -//     * <p>Multi-dimensional arrays are handled by the Object[] method.</p>
  -//     *
  -//     * <p>The format is that of Java source code, for example {1,2}.</p>
  -//     * 
  -//     * @param array  the array to get a toString for, must not be 
<code>null</code>
  -//     * @return a String representation of the array
  -//     * @throws IllegalArgumentException if the array is <code>null</code>
  -//     */
  -//    public static String toString(long[] array) {
  -//        return new ToStringBuilder(array, 
ToStringStyle.SIMPLE_STYLE).append(array).toString();
  -//    }
  -//    
  -//    /**
  -//     * <p>Output the array as a String.</p>
  -//     *
  -//     * <p>Multi-dimensional arrays are handled by the Object[] method.</p>
  -//     *
  -//     * <p>The format is that of Java source code, for example {1,2}.</p>
  -//     * 
  -//     * @param array  the array to get a toString for, must not be 
<code>null</code>
  -//     * @return a String representation of the array
  -//     * @throws IllegalArgumentException if the array is <code>null</code>
  -//     */
  -//    public static String toString(int[] array) {
  -//        return new ToStringBuilder(array, 
ToStringStyle.SIMPLE_STYLE).append(array).toString();
  -//    }
  -//    
  -//    /**
  -//     * <p>Output the array as a String.</p>
  -//     *
  -//     * <p>Multi-dimensional arrays are handled by the Object[] method.</p>
  -//     *
  -//     * <p>The format is that of Java source code, for example {1,2}.</p>
  -//     * 
  -//     * @param array  the array to get a toString for, must not be 
<code>null</code>
  -//     * @return a String representation of the array
  -//     * @throws IllegalArgumentException if the array is <code>null</code>
  -//     */
  -//    public static String toString(short[] array) {
  -//        return new ToStringBuilder(array, 
ToStringStyle.SIMPLE_STYLE).append(array).toString();
  -//    }
  -//    
  -//    /**
  -//     * <p>Output the array as a String.</p>
  -//     *
  -//     * <p>Multi-dimensional arrays are handled by the Object[] method.</p>
  -//     *
  -//     * <p>The format is that of Java source code, for example {1,2}.</p>
  -//     * 
  -//     * @param array  the array to get a toString for, must not be 
<code>null</code>
  -//     * @return a String representation of the array
  -//     * @throws IllegalArgumentException if the array is <code>null</code>
  -//     */
  -//    public static String toString(byte[] array) {
  -//        return new ToStringBuilder(array, 
ToStringStyle.SIMPLE_STYLE).append(array).toString();
  -//    }
  -//    
  -//    /**
  -//     * <p>Output the array as a String.</p>
  -//     *
  -//     * <p>Multi-dimensional arrays are handled by the Object[] method.</p>
  -//     *
  -//     * <p>The format is that of Java source code, for example {1.0,2.0}.</p>
  -//     * 
  -//     * @param array  the array to get a toString for, must not be 
<code>null</code>
  -//     * @return a String representation of the array
  -//     * @throws IllegalArgumentException if the array is <code>null</code>
  -//     */
  -//    public static String toString(double[] array) {
  -//        return new ToStringBuilder(array, 
ToStringStyle.SIMPLE_STYLE).append(array).toString();
  -//    }
  -//    
  -//    /**
  -//     * <p>Output the array as a String.</p>
  -//     *
  -//     * <p>Multi-dimensional arrays are handled by the Object[] method.</p>
  -//     *
  -//     * <p>The format is that of Java source code, for example {1.0,2.0}.</p>
  -//     *
  -//     * @param array  the array to get a toString for, must not be 
<code>null</code>
  -//     * @return a String representation of the array
  -//     * @throws IllegalArgumentException if the array is <code>null</code>
  -//     */
  -//    public static String toString(float[] array) {
  -//        return new ToStringBuilder(array, 
ToStringStyle.SIMPLE_STYLE).append(array).toString();
  -//    }
  -//    
  -//    /**
  -//     * <p>Output the array as a String.</p>
  -//     *
  -//     * <p>Multi-dimensional arrays are handled by the Object[] method.</p>
  -//     *
  -//     * <p>The format is that of Java source code, for example {true,false}.</p>
  -//     * 
  -//     * @param array  the array to get a toString for, must not be 
<code>null</code>
  -//     * @return a String representation of the array
  -//     * @throws IllegalArgumentException if the array is <code>null</code>
  -//     */
  -//    public static String toString(boolean[] array) {
  -//        return new ToStringBuilder(array, 
ToStringStyle.SIMPLE_STYLE).append(array).toString();
  -//    }
  -    
       //-----------------------------------------------------------------------
   
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to