--- jsr166/src/main/java/util/ArrayList.java 2005/12/05 02:56:59 1.14
+++ jsr166/src/main/java/util/ArrayList.java 2006/02/07 20:54:24 1.16
@@ -6,7 +6,6 @@
*/
package java.util;
-import java.util.*; // for javadoc (till 6280605 is fixed)
/**
* Resizable-array implementation of the List interface. Implements
@@ -190,7 +189,7 @@ public class ArrayList extends Abstra
*/
private void growArray(int minCapacity) {
if (minCapacity < 0) // overflow
- throw new OutOfMemoryError();
+ throw new OutOfMemoryError();
int oldCapacity = elementData.length;
// Double size if small; else grow by 50%
int newCapacity = ((oldCapacity < 64)?