/[classpath]/classpath/java/util/ArrayList.java
ViewVC logotype

Diff of /classpath/java/util/ArrayList.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by mark, Tue Jan 22 22:27:01 2002 UTC revision 1.20 by tromey, Wed Jan 23 00:06:10 2002 UTC
# Line 71  import java.io.ObjectOutputStream; Line 71  import java.io.ObjectOutputStream;
71   * non-deterministic behavior.   * non-deterministic behavior.
72   *   *
73   * @author Jon A. Zeppieri   * @author Jon A. Zeppieri
74     * @author Bryce McKinlay
75   * @author Eric Blake <ebb9@email.byu.edu>   * @author Eric Blake <ebb9@email.byu.edu>
76   * @see Collection   * @see Collection
77   * @see List   * @see List
# Line 463  public class ArrayList extends AbstractL Line 464  public class ArrayList extends AbstractL
464      // use of a negative index will cause an ArrayIndexOutOfBoundsException,      // use of a negative index will cause an ArrayIndexOutOfBoundsException,
465      // a subclass of the required exception, with no effort on our part.      // a subclass of the required exception, with no effort on our part.
466      if (index > size)      if (index > size)
467        throw new IndexOutOfBoundsException("Index: " + index + ", Size:"        throw new IndexOutOfBoundsException("Index: " + index + ", Size: "
468                                            + size);                                            + size);
469    }    }
470    
# Line 479  public class ArrayList extends AbstractL Line 480  public class ArrayList extends AbstractL
480      // use of a negative index will cause an ArrayIndexOutOfBoundsException,      // use of a negative index will cause an ArrayIndexOutOfBoundsException,
481      // a subclass of the required exception, with no effort on our part.      // a subclass of the required exception, with no effort on our part.
482      if (index >= size)      if (index >= size)
483        throw new IndexOutOfBoundsException("Index: " + index + ", Size:"        throw new IndexOutOfBoundsException("Index: " + index + ", Size: "
484                                            + size);                                            + size);
485    }    }
486    

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26