# | Line 587 | Line 587 | public class DelayQueueTest extends JSR1 | |
---|---|---|
587 | /** | |
588 | * toArray(incompatible array type) throws ArrayStoreException | |
589 | */ | |
590 | < | public void testToArray1_BadArg() { |
590 | > | @SuppressWarnings("CollectionToArraySafeParameter") |
591 | > | public void testToArray_incompatibleArrayType() { |
592 | DelayQueue<PDelay> q = populatedQueue(SIZE); | |
593 | try { | |
594 | q.toArray(new String[10]); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |