# | Line 34 | Line 34 | public class ArrayBlockingQueueTest exte | |
---|---|---|
34 | class Implementation implements CollectionImplementation { | |
35 | public Class<?> klazz() { return ArrayBlockingQueue.class; } | |
36 | public Collection emptyCollection() { | |
37 | < | boolean fair = ThreadLocalRandom.current().nextBoolean(); |
37 | > | boolean fair = randomBoolean(); |
38 | return populatedQueue(0, SIZE, 2 * SIZE, fair); | |
39 | } | |
40 | public Object makeElement(int i) { return i; } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |