# | Line 639 | Line 639 | public class LinkedBlockingQueueTest ext | |
---|---|---|
639 | /** | |
640 | * toArray(incompatible array type) throws ArrayStoreException | |
641 | */ | |
642 | < | public void testToArray1_BadArg() { |
642 | > | @SuppressWarnings("CollectionToArraySafeParameter") |
643 | > | public void testToArray_incompatibleArrayType() { |
644 | LinkedBlockingQueue<Item> q = populatedQueue(SIZE); | |
645 | try { | |
646 | q.toArray(new String[10]); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |