# | Line 584 | Line 584 | public class LinkedTransferQueueTest ext | |
---|---|---|
584 | } | |
585 | ||
586 | /** | |
587 | < | * toArray(incompatible array type) throws CCE |
587 | > | * toArray(incompatible array type) throws ArrayStoreException |
588 | */ | |
589 | public void testToArray1_BadArg() { | |
590 | LinkedTransferQueue q = populatedQueue(SIZE); | |
591 | try { | |
592 | < | Object o[] = q.toArray(new String[10]); |
592 | > | q.toArray(new String[10]); |
593 | shouldThrow(); | |
594 | } catch (ArrayStoreException success) {} | |
595 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |