# | Line 58 | Line 58 | public class ThreadPoolExecutorSubclassT | |
---|---|---|
58 | CustomTask(final Runnable r, final V res) { | |
59 | if (r == null) throw new NullPointerException(); | |
60 | callable = new Callable<V>() { | |
61 | < | public V call() throws Exception { r.run(); return res; }}; |
61 | > | public V call() throws Exception { r.run(); return res; }}; |
62 | } | |
63 | public boolean isDone() { | |
64 | lock.lock(); try { return done; } finally { lock.unlock() ; } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |