ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ForkJoinPool.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ForkJoinPool.java (file contents):
Revision 1.4 by jsr166, Wed Jul 29 02:35:47 2009 UTC vs.
Revision 1.5 by jsr166, Wed Jul 29 18:23:30 2009 UTC

# 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) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines