commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang ArrayUtils.java
Date Mon, 29 Dec 2003 01:08:38 GMT
ggregory    2003/12/28 17:08:38

  Modified:    lang/src/java/org/apache/commons/lang ArrayUtils.java
  Log:
  Add missing @return tags on subarray methods.
  
  Revision  Changes    Path
  1.30      +19 -1     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.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- ArrayUtils.java	5 Dec 2003 23:37:18 -0000	1.29
  +++ ArrayUtils.java	29 Dec 2003 01:08:38 -0000	1.30
  @@ -462,6 +462,8 @@
        *      returned subarray. Undervalue (< startIndex) produces
        *      empty array, overvalue (>array.length) is demoted to
        *      array length.
  +     * @return a new array containing the elements between
  +     *      the start and end indices.
        */
       public static Object[] subarray(Object[] array, int startIndexInclusive, int endIndexExclusive)
{
           if (array == null) {
  @@ -498,6 +500,8 @@
        *      returned subarray. Undervalue (< startIndex) produces
        *      empty array, overvalue (>array.length) is demoted to
        *      array length.
  +     * @return a new array containing the elements between
  +     *      the start and end indices.
        */
       public static long[] subarray(long[] array, int startIndexInclusive, int endIndexExclusive)
{
           if (array == null) {
  @@ -534,6 +538,8 @@
        *      returned subarray. Undervalue (< startIndex) produces
        *      empty array, overvalue (>array.length) is demoted to
        *      array length.
  +     * @return a new array containing the elements between
  +     *      the start and end indices.
        */
       public static int[] subarray(int[] array, int startIndexInclusive, int endIndexExclusive)
{
           if (array == null) {
  @@ -570,6 +576,8 @@
        *      returned subarray. Undervalue (< startIndex) produces
        *      empty array, overvalue (>array.length) is demoted to
        *      array length.
  +     * @return a new array containing the elements between
  +     *      the start and end indices.
        */
       public static short[] subarray(short[] array, int startIndexInclusive, int endIndexExclusive)
{
           if (array == null) {
  @@ -606,6 +614,8 @@
        *      returned subarray. Undervalue (< startIndex) produces
        *      empty array, overvalue (>array.length) is demoted to
        *      array length.
  +     * @return a new array containing the elements between
  +     *      the start and end indices.
        */
       public static char[] subarray(char[] array, int startIndexInclusive, int endIndexExclusive)
{
           if (array == null) {
  @@ -642,6 +652,8 @@
        *      returned subarray. Undervalue (< startIndex) produces
        *      empty array, overvalue (>array.length) is demoted to
        *      array length.
  +     * @return a new array containing the elements between
  +     *      the start and end indices.
        */
       public static byte[] subarray(byte[] array, int startIndexInclusive, int endIndexExclusive)
{
           if (array == null) {
  @@ -678,6 +690,8 @@
        *      returned subarray. Undervalue (< startIndex) produces
        *      empty array, overvalue (>array.length) is demoted to
        *      array length.
  +     * @return a new array containing the elements between
  +     *      the start and end indices.
        */
       public static double[] subarray(double[] array, int startIndexInclusive, int endIndexExclusive)
{
           if (array == null) {
  @@ -714,6 +728,8 @@
        *      returned subarray. Undervalue (< startIndex) produces
        *      empty array, overvalue (>array.length) is demoted to
        *      array length.
  +     * @return a new array containing the elements between
  +     *      the start and end indices.
        */
       public static float[] subarray(float[] array, int startIndexInclusive, int endIndexExclusive)
{
           if (array == null) {
  @@ -750,6 +766,8 @@
        *      returned subarray. Undervalue (< startIndex) produces
        *      empty array, overvalue (>array.length) is demoted to
        *      array length.
  +     * @return a new array containing the elements between
  +     *      the start and end indices.
        */
       public static boolean[] subarray(boolean[] array, int startIndexInclusive, int endIndexExclusive)
{
           if (array == null) {
  
  
  

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