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

Comparing jsr166/src/test/tck/ThreadLocalRandomTest.java (file contents):
Revision 1.16 by jsr166, Fri Aug 16 07:07:01 2013 UTC vs.
Revision 1.18 by jsr166, Wed Sep 25 07:39:17 2013 UTC

# Line 7 | Line 7 | import junit.framework.*;
7   import java.util.*;
8   import java.util.concurrent.ThreadLocalRandom;
9   import java.util.concurrent.atomic.AtomicLong;
10 import java.util.concurrent.atomic.AtomicInteger;
10   import java.util.concurrent.atomic.AtomicReference;
11  
12   public class ThreadLocalRandomTest extends JSR166TestCase {
# Line 271 | Line 270 | public class ThreadLocalRandomTest exten
270          long firstRand = 0;
271          ThreadLocalRandom firstThreadLocalRandom = null;
272  
273 <        final CheckedRunnable getRandomState = new CheckedRunnable() {
273 >        Runnable getRandomState = new CheckedRunnable() {
274              public void realRun() {
275                  ThreadLocalRandom current = ThreadLocalRandom.current();
276                  assertSame(current, ThreadLocalRandom.current());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines