# | Line 176 | Line 176 | public class LinkedBlockingQueue<E> exte | |
---|---|---|
176 | */ | |
177 | public LinkedBlockingQueue(Collection<? extends E> c) { | |
178 | this(Integer.MAX_VALUE); | |
179 | < | for (Iterator<E> it = c.iterator(); it.hasNext();) |
180 | < | add(it.next()); |
179 | > | for (Iterator it = c.iterator(); it.hasNext();) |
180 | > | add((E)it.next()); |
181 | } | |
182 | ||
183 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |