# | Line 1550 | Line 1550 | public class LinkedBlockingDequeTest ext | |
---|---|---|
1550 | /** | |
1551 | * toArray(incompatible array type) throws ArrayStoreException | |
1552 | */ | |
1553 | < | public void testToArray1_BadArg() { |
1553 | > | @SuppressWarnings("CollectionToArraySafeParameter") |
1554 | > | public void testToArray_incompatibleArrayType() { |
1555 | LinkedBlockingDeque<Item> q = populatedDeque(SIZE); | |
1556 | try { | |
1557 | q.toArray(new String[10]); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |