You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2003/09/29 01:07:31 UTC

cvs commit: jakarta-commons-sandbox/primitives/src/codegen/org/apache/commons/primitive/collection XXXCollection.vm

scolebourne    2003/09/28 16:07:31

  Modified:    primitives/src/codegen/org/apache/commons/primitive/collection
                        XXXCollection.vm
  Log:
  Tighten contract from testing
  
  Revision  Changes    Path
  1.3       +4 -4      jakarta-commons-sandbox/primitives/src/codegen/org/apache/commons/primitive/collection/XXXCollection.vm
  
  Index: XXXCollection.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/primitives/src/codegen/org/apache/commons/primitive/collection/XXXCollection.vm,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XXXCollection.vm	22 Sep 2003 23:54:09 -0000	1.2
  +++ XXXCollection.vm	28 Sep 2003 23:07:31 -0000	1.3
  @@ -58,13 +58,13 @@
        * <p>
        * If the array specified is null a new array is created.
        * If the array specified is large enough, it will be modified.
  -     * If the array is not large enough, a new array will be created and all
  -     * elements copied before the copy begins.
  +     * If the array is not large enough, a new array will be created containing the
  +     * values from the specified array before the startIndex plus those from this collection.
        *
        * @param array  the array to add the elements to
        * @param startIndex  the position in the array to start setting elements
        * @return the array with the populated collection
  -     * @throws IndexOutOfBoundsException if the index is invalid
  +     * @throws IndexOutOfBoundsException if the index is negative
        */
       ${type}[] toValueArray(${type}[] array, int startIndex);
   
  
  
  

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