ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ArrayDequeTest.java
(Generate patch)

Comparing jsr166/src/test/tck/ArrayDequeTest.java (file contents):
Revision 1.53 by jsr166, Thu Nov 3 15:45:56 2016 UTC vs.
Revision 1.54 by jsr166, Sun Nov 6 15:59:52 2016 UTC

# Line 42 | Line 42 | public class ArrayDequeTest extends JSR1
42       */
43      private static ArrayDeque<Integer> populatedDeque(int n) {
44          // Randomize various aspects of memory layout, including
45 <        // filled-to-capacity and wraparound.
45 >        // capacity slop and wraparound.
46          final ArrayDeque<Integer> q;
47          ThreadLocalRandom rnd = ThreadLocalRandom.current();
48          switch (rnd.nextInt(6)) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines