Return-Path: Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 86649 invoked by uid 500); 29 Sep 2003 03:38:25 -0000 Received: (qmail 86645 invoked from network); 29 Sep 2003 03:38:25 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 29 Sep 2003 03:38:25 -0000 Received: (qmail 72550 invoked by uid 1718); 29 Sep 2003 03:38:44 -0000 Date: 29 Sep 2003 03:38:44 -0000 Message-ID: <20030929033844.72549.qmail@minotaur.apache.org> From: psteitz@apache.org To: jakarta-commons-cvs@apache.org Subject: cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections IteratorUtils.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N psteitz 2003/09/28 20:38:44 Modified: collections/src/java/org/apache/commons/collections IteratorUtils.java Log: javadoc Revision Changes Path 1.12 +8 -5 jakarta-commons/collections/src/java/org/apache/commons/collections/IteratorUtils.java Index: IteratorUtils.java =================================================================== RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/IteratorUtils.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- IteratorUtils.java 31 Aug 2003 17:26:43 -0000 1.11 +++ IteratorUtils.java 29 Sep 2003 03:38:44 -0000 1.12 @@ -98,6 +98,7 @@ * @version $Revision$ $Date$ * * @author Stephen Colebourne + * @author Phil Steitz */ public class IteratorUtils { // validation is done in this class in certain cases because the @@ -206,7 +207,8 @@ * @param array the array over which to iterate * @param start the index to start iterating at * @return an iterator over part of the array - * @throws IndexOutOfBoundsException if start is less than zero + * @throws IndexOutOfBoundsException if start is less than zero or greater + * than the length of the array * @throws NullPointerException if array is null */ public static ResetableIterator arrayIterator(Object[] array, int start) { @@ -223,7 +225,8 @@ * @param start the index to start iterating at * @return an iterator over part of the array * @throws IllegalArgumentException if the array is not an array - * @throws IndexOutOfBoundsException if start is less than zero + * @throws IndexOutOfBoundsException if start is less than zero or greater + * than the length of the array * @throws NullPointerException if array is null */ public static ResetableIterator arrayIterator(Object array, int start) { @@ -579,7 +582,7 @@ * that will remove elements from the specified collection. * * @param enumeration the enumeration to use - * @param collection the collection to remove elements form + * @param removeCollection the collection to remove elements form */ public static Iterator asIterator(Enumeration enumeration, Collection removeCollection) { if (enumeration == null) {