--- jsr166/src/main/java/util/ArrayList.java 2005/11/26 03:12:10 1.4 +++ jsr166/src/main/java/util/ArrayList.java 2005/11/26 04:33:04 1.5 @@ -101,9 +101,9 @@ public class ArrayList extends Abstra /** * Constructs an empty list with the specified initial capacity. * - * @param initialCapacity the initial capacity of the list - * @exception IllegalArgumentException if the specified initial capacity - * is negative + * @param initialCapacity the initial capacity of the list + * @throws IllegalArgumentException if the specified initial capacity + * is negative */ public ArrayList(int initialCapacity) { super(); @@ -175,7 +175,7 @@ public class ArrayList extends Abstra * necessary, to ensure that it can hold at least the number of elements * specified by the minimum capacity argument. * - * @param minCapacity the desired minimum capacity + * @param minCapacity the desired minimum capacity */ public void ensureCapacity(int minCapacity) { modCount++; @@ -184,8 +184,9 @@ public class ArrayList extends Abstra } /** - * Increase the capacity of the array. - * @param minCapacity the desired minimum capacity + * Increases the capacity of the array. + * + * @param minCapacity the desired minimum capacity */ private void growArray(int minCapacity) { int oldCapacity = elementData.length; @@ -348,8 +349,6 @@ public class ArrayList extends Abstra return new IndexOutOfBoundsException("Index: " + i + ", Size: " + s); } - // Positional Access Operations - /** * Returns the element at the specified position in this list. *