# | Line 658 | Line 658 | public class ConcurrentLinkedDequeTest e | |
---|---|---|
658 | } | |
659 | ||
660 | /** | |
661 | < | * toArray(null) throws NPE |
661 | > | * toArray(null) throws NullPointerException |
662 | */ | |
663 | < | public void testToArray_BadArg() { |
663 | > | public void testToArray_NullArg() { |
664 | ConcurrentLinkedDeque q = populatedDeque(SIZE); | |
665 | try { | |
666 | < | Object o[] = q.toArray(null); |
666 | > | q.toArray(null); |
667 | shouldThrow(); | |
668 | } catch (NullPointerException success) {} | |
669 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |