[cvs] / jsr166 / src / test / tck / ArrayDequeTest.java Repository:
ViewVC logotype

Diff of /jsr166/src/test/tck/ArrayDequeTest.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.53, Thu Nov 3 15:45:56 2016 UTC revision 1.54, Sun Nov 6 15:59:52 2016 UTC
# Line 42  Line 42 
42       */       */
43      private static ArrayDeque<Integer> populatedDeque(int n) {      private static ArrayDeque<Integer> populatedDeque(int n) {
44          // Randomize various aspects of memory layout, including          // Randomize various aspects of memory layout, including
45          // filled-to-capacity and wraparound.          // capacity slop and wraparound.
46          final ArrayDeque<Integer> q;          final ArrayDeque<Integer> q;
47          ThreadLocalRandom rnd = ThreadLocalRandom.current();          ThreadLocalRandom rnd = ThreadLocalRandom.current();
48          switch (rnd.nextInt(6)) {          switch (rnd.nextInt(6)) {

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8