# | Line 401 | Line 401 | public class SynchronousQueueTest extend | |
---|---|---|
401 | public void testToArray2() { testToArray2(false); } | |
402 | public void testToArray2_fair() { testToArray2(true); } | |
403 | public void testToArray2(boolean fair) { | |
404 | < | final SynchronousQueue<Integer> q |
405 | < | = new SynchronousQueue<Integer>(fair); |
404 | > | final SynchronousQueue<Integer> q = new SynchronousQueue<>(fair); |
405 | Integer[] a; | |
406 | ||
407 | a = new Integer[0]; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |