# | Line 423 | Line 423 | public class SynchronousQueueTest extend | |
---|---|---|
423 | public void testToArray_null(boolean fair) { | |
424 | final SynchronousQueue q = new SynchronousQueue(fair); | |
425 | try { | |
426 | < | Object o[] = q.toArray(null); |
426 | > | Object[] o = q.toArray(null); |
427 | shouldThrow(); | |
428 | } catch (NullPointerException success) {} | |
429 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |