# | Line 437 | Line 437 | public class SynchronousQueueTest extend | |
---|---|---|
437 | public void testToArray_null(boolean fair) { | |
438 | final SynchronousQueue q = new SynchronousQueue(fair); | |
439 | try { | |
440 | < | Object[] o = q.toArray(null); |
440 | > | Object[] o = q.toArray((Object[])null); |
441 | shouldThrow(); | |
442 | } catch (NullPointerException success) {} | |
443 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |