# | Line 392 | Line 392 | public class ConcurrentLinkedQueueTest e | |
---|---|---|
392 | } | |
393 | ||
394 | /** | |
395 | < | * toArray(null) throws NPE |
395 | > | * toArray(null) throws NullPointerException |
396 | */ | |
397 | < | public void testToArray_BadArg() { |
397 | > | public void testToArray_NullArg() { |
398 | ConcurrentLinkedQueue q = populatedQueue(SIZE); | |
399 | try { | |
400 | < | Object o[] = q.toArray(null); |
400 | > | q.toArray(null); |
401 | shouldThrow(); | |
402 | } catch (NullPointerException success) {} | |
403 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |