# | Line 616 | Line 616 | public class CopyOnWriteArrayListTest ex | |
---|---|---|
616 | * toArray throws an ArrayStoreException when the given array | |
617 | * can not store the objects inside the list | |
618 | */ | |
619 | + | @SuppressWarnings("CollectionToArraySafeParameter") |
620 | public void testToArray_ArrayStoreException() { | |
621 | List<Item> list = new CopyOnWriteArrayList<>(); | |
622 | // Items are not auto-converted to Longs |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |