# | Line 484 | Line 484 | public class LinkedTransferQueueTest ext | |
---|---|---|
484 | /** | |
485 | * toArray(incompatible array type) throws ArrayStoreException | |
486 | */ | |
487 | < | public void testToArray1_BadArg() { |
487 | > | @SuppressWarnings("CollectionToArraySafeParameter") |
488 | > | public void testToArray_incompatibleArrayType() { |
489 | LinkedTransferQueue<Item> q = populatedQueue(SIZE); | |
490 | try { | |
491 | q.toArray(new String[10]); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |