changeset 2178 | 5a730fff4d0d |
parent 715 | f16baef3a20e |
child 5466 | f130bb07764b |
--- a/jdk/src/share/classes/java/util/ArrayList.java Wed Mar 04 13:36:33 2009 +0000 +++ b/jdk/src/share/classes/java/util/ArrayList.java Wed Mar 04 09:26:41 2009 -0800 @@ -179,7 +179,6 @@ modCount++; int oldCapacity = elementData.length; if (minCapacity > oldCapacity) { - Object oldData[] = elementData; int newCapacity = (oldCapacity * 3)/2 + 1; if (newCapacity < minCapacity) newCapacity = minCapacity;