# | Line 132 | Line 132 | public abstract class AbstractQueue<E> | |
---|---|---|
132 | throw new NullPointerException(); | |
133 | if (c == this) | |
134 | throw new IllegalArgumentException(); | |
135 | < | boolean modified = false; |
136 | < | Iterator<? extends E> e = c.iterator(); |
137 | < | while (e.hasNext()) { |
138 | < | if (add(e.next())) |
139 | < | modified = true; |
140 | < | } |
141 | < | return modified; |
135 | > | boolean modified = false; |
136 | > | Iterator<? extends E> e = c.iterator(); |
137 | > | while (e.hasNext()) { |
138 | > | if (add(e.next())) |
139 | > | modified = true; |
140 | > | } |
141 | > | return modified; |
142 | } | |
143 | ||
144 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |