--- jsr166/src/main/java/util/AbstractQueue.java 2007/09/11 15:10:56 1.35 +++ jsr166/src/main/java/util/AbstractQueue.java 2009/09/01 22:28:19 1.36 @@ -154,11 +154,9 @@ public abstract class AbstractQueue if (c == this) throw new IllegalArgumentException(); boolean modified = false; - Iterator e = c.iterator(); - while (e.hasNext()) { - if (add(e.next())) + for (E e : c) + if (add(e)) modified = true; - } return modified; }