ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/ArrayList.java
(Generate patch)

Comparing jsr166/src/main/java/util/ArrayList.java (file contents):
Revision 1.14 by jsr166, Mon Dec 5 02:56:59 2005 UTC vs.
Revision 1.15 by jsr166, Mon Dec 12 00:04:16 2005 UTC

# Line 190 | Line 190 | public class ArrayList<E> extends Abstra
190       */
191      private void growArray(int minCapacity) {
192          if (minCapacity < 0) // overflow
193 <            throw new OutOfMemoryError();
193 >            throw new OutOfMemoryError();
194          int oldCapacity = elementData.length;
195          // Double size if small; else grow by 50%
196          int newCapacity = ((oldCapacity < 64)?

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines