# | Line 588 | Line 588 | public class PriorityBlockingQueueTest e | |
---|---|---|
588 | /** | |
589 | * toArray(incompatible array type) throws ArrayStoreException | |
590 | */ | |
591 | < | public void testToArray1_BadArg() { |
591 | > | @SuppressWarnings("CollectionToArraySafeParameter") |
592 | > | public void testToArray_incompatibleArrayType() { |
593 | PriorityBlockingQueue<Item> q = populatedQueue(SIZE); | |
594 | try { | |
595 | q.toArray(new String[10]); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |