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

Comparing jsr166/src/test/loops/LoopHelpers.java (file contents):
Revision 1.10 by jsr166, Mon Sep 27 19:15:15 2010 UTC vs.
Revision 1.12 by jsr166, Mon Dec 5 04:08:46 2011 UTC

# Line 1 | Line 1
1   /*
2   * Written by Doug Lea with assistance from members of JCP JSR-166
3   * Expert Group and released to the public domain, as explained at
4 < * http://creativecommons.org/licenses/publicdomain
4 > * http://creativecommons.org/publicdomain/zero/1.0/
5   */
6   /**
7   * Misc utilities in JSR166 performance tests
# Line 106 | Line 106 | class LoopHelpers {
106      public static final class XorShift32Random {
107          static final AtomicInteger seq = new AtomicInteger(8862213);
108          int x = -1831433054;
109 <        public XorShift32Random(int seed) { x = seed;  }
109 >        public XorShift32Random(int seed) { x = seed; }
110          public XorShift32Random() {
111              this((int) System.nanoTime() + seq.getAndAdd(129));
112          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines