# | Line 1056 | Line 1056 | public class ForkJoinPool extends Abstra | |
---|---|---|
1056 | * @param c the collection to transfer elements into | |
1057 | * @return the number of elements transferred | |
1058 | */ | |
1059 | < | protected int drainTasksTo(Collection<ForkJoinTask<?>> c) { |
1059 | > | protected int drainTasksTo(Collection<? super ForkJoinTask<?>> c) { |
1060 | int n = submissionQueue.drainTo(c); | |
1061 | ForkJoinWorkerThread[] ws = workers; | |
1062 | if (ws != null) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |