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

Comparing jsr166/src/test/tck/CountedCompleterTest.java (file contents):
Revision 1.30 by jsr166, Sat Oct 15 18:51:12 2016 UTC vs.
Revision 1.32 by jsr166, Sat Mar 11 17:33:32 2017 UTC

# Line 13 | Line 13 | import java.util.concurrent.CountedCompl
13   import java.util.concurrent.ExecutionException;
14   import java.util.concurrent.ForkJoinPool;
15   import java.util.concurrent.ForkJoinTask;
16 import java.util.concurrent.ThreadLocalRandom;
16   import java.util.concurrent.TimeoutException;
17   import java.util.concurrent.atomic.AtomicInteger;
18   import java.util.concurrent.atomic.AtomicReference;
# Line 211 | Line 210 | public class CountedCompleterTest extend
210          final AtomicInteger onCompletionN = new AtomicInteger(0);
211          final AtomicInteger onExceptionalCompletionN = new AtomicInteger(0);
212          final AtomicInteger setRawResultN = new AtomicInteger(0);
213 <        final AtomicReference<Object> rawResult = new AtomicReference<Object>(null);
213 >        final AtomicReference<Object> rawResult = new AtomicReference<>(null);
214          int computeN() { return computeN.get(); }
215          int onCompletionN() { return onCompletionN.get(); }
216          int onExceptionalCompletionN() { return onExceptionalCompletionN.get(); }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines