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

Comparing jsr166/src/main/java/util/concurrent/ForkJoinTask.java (file contents):
Revision 1.34 by jsr166, Sun Nov 21 19:04:45 2010 UTC vs.
Revision 1.35 by jsr166, Sun Nov 21 19:33:39 2010 UTC

# Line 512 | Line 512 | public abstract class ForkJoinTask<V> im
512       * Attempts to cancel execution of this task. This attempt will
513       * fail if the task has already completed, has already been
514       * cancelled, or could not be cancelled for some other reason. If
515 <     * successful, and this task has not started when cancel is
516 <     * called, execution of this task is suppressed, {@link
515 >     * successful, and this task has not started when {@code cancel}
516 >     * is called, execution of this task is suppressed, {@link
517       * #isCancelled} will report true, and {@link #join} will result
518       * in a {@code CancellationException} being thrown.
519       *
# Line 527 | Line 527 | public abstract class ForkJoinTask<V> im
527       * invoke {@link #completeExceptionally}.
528       *
529       * @param mayInterruptIfRunning this value is ignored in the
530 <     * default implementation because tasks are not
531 <     * cancelled via interruption
530 >     * default implementation because tasks are not cancelled via
531 >     * interruption
532       *
533       * @return {@code true} if this task is now cancelled
534       */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines