# | Line 39 | Line 39 | public class ConcurrentLinkedQueueTest e | |
---|---|---|
39 | * Integers 0 ... n - 1. | |
40 | */ | |
41 | private ConcurrentLinkedQueue<Integer> populatedQueue(int n) { | |
42 | < | ConcurrentLinkedQueue<Integer> q = new ConcurrentLinkedQueue<Integer>(); |
42 | > | ConcurrentLinkedQueue<Integer> q = new ConcurrentLinkedQueue<>(); |
43 | assertTrue(q.isEmpty()); | |
44 | for (int i = 0; i < n; ++i) | |
45 | assertTrue(q.offer(new Integer(i))); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |