# | Line 144 | Line 144 | public class ExecutorCompletionServiceTe | |
---|---|---|
144 | public void testPollReturnsNull() | |
145 | throws InterruptedException, ExecutionException { | |
146 | CompletionService cs = new ExecutorCompletionService(cachedThreadPool); | |
147 | < | CountDownLatch proceed = new CountDownLatch(1); |
147 | > | final CountDownLatch proceed = new CountDownLatch(1); |
148 | cs.submit(new Callable() { public String call() throws Exception { | |
149 | proceed.await(); | |
150 | return TEST_STRING; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |