# | Line 351 | Line 351 | public class VectorTest extends JSR166Te | |
---|---|---|
351 | * toArray throws an ArrayStoreException when the given array | |
352 | * can not store the objects inside the list | |
353 | */ | |
354 | + | @SuppressWarnings("CollectionToArraySafeParameter") |
355 | public void testToArray_ArrayStoreException() { | |
356 | List<Item> list = new Vector<>(); | |
357 | // Items are not auto-converted to Longs |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |