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

Comparing jsr166/src/test/tck/ExecutorCompletionServiceTest.java (file contents):
Revision 1.25 by jsr166, Mon May 23 18:19:48 2016 UTC vs.
Revision 1.27 by jsr166, Wed Aug 24 22:22:39 2016 UTC

# Line 13 | Line 13 | import java.util.concurrent.Callable;
13   import java.util.concurrent.CompletionService;
14   import java.util.concurrent.CountDownLatch;
15   import java.util.concurrent.ExecutionException;
16 import java.util.concurrent.Executor;
16   import java.util.concurrent.ExecutorCompletionService;
17   import java.util.concurrent.ExecutorService;
18   import java.util.concurrent.Future;
# Line 144 | Line 143 | public class ExecutorCompletionServiceTe
143      public void testPollReturnsNull()
144          throws InterruptedException, ExecutionException {
145          CompletionService cs = new ExecutorCompletionService(cachedThreadPool);
146 <        CountDownLatch proceed = new CountDownLatch(1);
146 >        final CountDownLatch proceed = new CountDownLatch(1);
147          cs.submit(new Callable() { public String call() throws Exception {
148              proceed.await();
149              return TEST_STRING;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines