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