# | Line 389 | Line 389 | public class LinkedListTest extends JSR1 | |
---|---|---|
389 | /** | |
390 | * toArray(incompatible array type) throws ArrayStoreException | |
391 | */ | |
392 | < | public void testToArray1_BadArg() { |
392 | > | @SuppressWarnings("CollectionToArraySafeParameter") |
393 | > | public void testToArray_incompatibleArrayType() { |
394 | LinkedList<Item> l = new LinkedList<>(); | |
395 | l.add(five); | |
396 | try { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |