diff --git a/src/java/org/apache/commons/lang/ArrayUtils.java b/src/java/org/apache/commons/lang/ArrayUtils.java index bbbfe6736..eeacdaa25 100644 --- a/src/java/org/apache/commons/lang/ArrayUtils.java +++ b/src/java/org/apache/commons/lang/ArrayUtils.java @@ -69,7 +69,7 @@ * @author Fredrik Westermarck * @author Nikolay Metchev * @since 2.0 - * @version $Id: ArrayUtils.java,v 1.12 2003/06/16 02:28:16 bayard Exp $ + * @version $Id: ArrayUtils.java,v 1.13 2003/06/20 08:03:51 scolebourne Exp $ */ public class ArrayUtils { @@ -220,111 +220,6 @@ public static Map toMap(Object[] array) { return map; } -// /** -// *

Output the array as a String.

-// * -// *

Multi-dimensional arrays are handled by the Object[] method.

-// * -// *

The format is that of Java source code, for example {1,2}.

-// * -// * @param array the array to get a toString for, must not be null -// * @return a String representation of the array -// * @throws IllegalArgumentException if the array is null -// */ -// public static String toString(long[] array) { -// return new ToStringBuilder(array, ToStringStyle.SIMPLE_STYLE).append(array).toString(); -// } -// -// /** -// *

Output the array as a String.

-// * -// *

Multi-dimensional arrays are handled by the Object[] method.

-// * -// *

The format is that of Java source code, for example {1,2}.

-// * -// * @param array the array to get a toString for, must not be null -// * @return a String representation of the array -// * @throws IllegalArgumentException if the array is null -// */ -// public static String toString(int[] array) { -// return new ToStringBuilder(array, ToStringStyle.SIMPLE_STYLE).append(array).toString(); -// } -// -// /** -// *

Output the array as a String.

-// * -// *

Multi-dimensional arrays are handled by the Object[] method.

-// * -// *

The format is that of Java source code, for example {1,2}.

-// * -// * @param array the array to get a toString for, must not be null -// * @return a String representation of the array -// * @throws IllegalArgumentException if the array is null -// */ -// public static String toString(short[] array) { -// return new ToStringBuilder(array, ToStringStyle.SIMPLE_STYLE).append(array).toString(); -// } -// -// /** -// *

Output the array as a String.

-// * -// *

Multi-dimensional arrays are handled by the Object[] method.

-// * -// *

The format is that of Java source code, for example {1,2}.

-// * -// * @param array the array to get a toString for, must not be null -// * @return a String representation of the array -// * @throws IllegalArgumentException if the array is null -// */ -// public static String toString(byte[] array) { -// return new ToStringBuilder(array, ToStringStyle.SIMPLE_STYLE).append(array).toString(); -// } -// -// /** -// *

Output the array as a String.

-// * -// *

Multi-dimensional arrays are handled by the Object[] method.

-// * -// *

The format is that of Java source code, for example {1.0,2.0}.

-// * -// * @param array the array to get a toString for, must not be null -// * @return a String representation of the array -// * @throws IllegalArgumentException if the array is null -// */ -// public static String toString(double[] array) { -// return new ToStringBuilder(array, ToStringStyle.SIMPLE_STYLE).append(array).toString(); -// } -// -// /** -// *

Output the array as a String.

-// * -// *

Multi-dimensional arrays are handled by the Object[] method.

-// * -// *

The format is that of Java source code, for example {1.0,2.0}.

-// * -// * @param array the array to get a toString for, must not be null -// * @return a String representation of the array -// * @throws IllegalArgumentException if the array is null -// */ -// public static String toString(float[] array) { -// return new ToStringBuilder(array, ToStringStyle.SIMPLE_STYLE).append(array).toString(); -// } -// -// /** -// *

Output the array as a String.

-// * -// *

Multi-dimensional arrays are handled by the Object[] method.

-// * -// *

The format is that of Java source code, for example {true,false}.

-// * -// * @param array the array to get a toString for, must not be null -// * @return a String representation of the array -// * @throws IllegalArgumentException if the array is null -// */ -// public static String toString(boolean[] array) { -// return new ToStringBuilder(array, ToStringStyle.SIMPLE_STYLE).append(array).toString(); -// } - //----------------------------------------------------------------------- /**