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

Comparing jsr166/src/main/java/util/concurrent/CountedCompleter.java (file contents):
Revision 1.28 by jsr166, Sat Dec 15 21:26:06 2012 UTC vs.
Revision 1.29 by dl, Wed Jan 16 15:04:04 2013 UTC

# Line 336 | Line 336 | package java.util.concurrent;
336   *     while (h - l >= 2) {
337   *       int mid = (l + h) >>> 1;
338   *       addToPendingCount(1);
339 < *       (forks = new MapReducer(this, array, mapper, reducer, mid, h, forks)).fork;
339 > *       (forks = new MapReducer(this, array, mapper, reducer, mid, h, forks)).fork();
340   *       h = mid;
341   *     }
342   *     if (h > l)
# Line 624 | Line 624 | public abstract class CountedCompleter<T
624      /**
625       * If this task does not have a completer, invokes {@link
626       * ForkJoinTask#quietlyComplete} and returns {@code null}.  Or, if
627 <     * this task's pending count is non-zero, decrements its pending
628 <     * count and returns {@code null}.  Otherwise, returns the
627 >     * the completer's pending count is non-zero, decrements that
628 >     * pending count and returns {@code null}.  Otherwise, returns the
629       * completer.  This method can be used as part of a completion
630       * traversal loop for homogeneous task hierarchies:
631       *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines