# | Line 669 | Line 669 | public class ConcurrentLinkedDequeTest e | |
---|---|---|
669 | } | |
670 | ||
671 | /** | |
672 | < | * toArray() with incompatible array type throws ArrayStoreException |
672 | > | * toArray(incompatible array type) throws ArrayStoreException |
673 | */ | |
674 | public void testToArray1_BadArg() { | |
675 | ConcurrentLinkedDeque q = populatedDeque(SIZE); | |
676 | try { | |
677 | < | Object o[] = q.toArray(new String[10]); |
677 | > | q.toArray(new String[10]); |
678 | shouldThrow(); | |
679 | } catch (ArrayStoreException success) {} | |
680 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |