--- jsr166/src/main/java/util/ArrayList.java 2006/05/28 23:36:29 1.21 +++ jsr166/src/main/java/util/ArrayList.java 2006/06/26 01:38:57 1.22 @@ -135,16 +135,6 @@ public class ArrayList extends Abstra elementData = Arrays.copyOf(elementData, size, Object[].class); } - private void initFromConcurrentlyMutating(Collection c) { - elementData = c.toArray(); - size = elementData.length; - // c.toArray might (incorrectly) not return Object[] (see 6260652) - if (elementData.getClass() != Object[].class) - elementData = Arrays.copyOf(elementData, size, Object[].class); - } - - private final static Object UNALLOCATED = new Object(); - /** * Trims the capacity of this ArrayList instance to be the * list's current size. An application can use this operation to minimize