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