# | Line 417 | Line 417 | public class ConcurrentLinkedQueueTest e | |
---|---|---|
417 | /** | |
418 | * toArray(incompatible array type) throws ArrayStoreException | |
419 | */ | |
420 | < | public void testToArray1_BadArg() { |
420 | > | @SuppressWarnings("CollectionToArraySafeParameter") |
421 | > | public void testToArray_incompatibleArrayType() { |
422 | ConcurrentLinkedQueue<Item> q = populatedQueue(SIZE); | |
423 | try { | |
424 | q.toArray(new String[10]); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |