# | Line 227 | Line 227 | public abstract class AbstractExecutorSe | |
---|---|---|
227 | public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, | |
228 | long timeout, TimeUnit unit) | |
229 | throws InterruptedException { | |
230 | < | if (tasks == null || unit == null) |
230 | > | if (tasks == null) |
231 | throw new NullPointerException(); | |
232 | long nanos = unit.toNanos(timeout); | |
233 | List<Future<T>> futures = new ArrayList<Future<T>>(tasks.size()); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |