# | Line 37 | Line 37 | public class ConcurrentLinkedQueueTest e | |
---|---|---|
37 | * Returns a new queue of given size containing consecutive | |
38 | * Integers 0 ... n - 1. | |
39 | */ | |
40 | < | private ConcurrentLinkedQueue<Integer> populatedQueue(int n) { |
40 | > | private static ConcurrentLinkedQueue<Integer> populatedQueue(int n) { |
41 | ConcurrentLinkedQueue<Integer> q = new ConcurrentLinkedQueue<>(); | |
42 | assertTrue(q.isEmpty()); | |
43 | for (int i = 0; i < n; ++i) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |