ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/loops/LinkedAsyncAction.java
(Generate patch)

Comparing jsr166/src/test/loops/LinkedAsyncAction.java (file contents):
Revision 1.2 by jsr166, Mon Sep 20 20:42:37 2010 UTC vs.
Revision 1.5 by jsr166, Sun Oct 21 06:14:12 2012 UTC

# Line 1 | Line 1
1   /*
2   * Written by Doug Lea with assistance from members of JCP JSR-166
3   * Expert Group and released to the public domain, as explained at
4 < *
4 > * http://creativecommons.org/publicdomain/zero/1.0/
5   */
6  
7   import java.util.*;
# Line 56 | Line 56 | import java.util.concurrent.atomic.*;
56   *   }
57   * }
58   * </pre>
59 *
59   */
60   public abstract class LinkedAsyncAction extends ForkJoinTask<Void> {
61  
# Line 141 | Line 140 | public abstract class LinkedAsyncAction
140       * Overridable callback action triggered by <tt>complete</tt>.  Upon
141       * invocation, all subtasks have completed.  After return, this
142       * task <tt>isDone</tt> and is joinable by other tasks. The
143 <     * default version of this method does nothing. But it may may be
143 >     * default version of this method does nothing. But it may be
144       * overridden in subclasses to perform some action when this task
145       * is about to complete.
146       */
# Line 318 | Line 317 | public abstract class LinkedAsyncAction
317      }
318  
319      /**
320 <     * Sets the control state to the given value,
320 >     * Sets the control state to the given value.
321       * @param value the new value
322       */
323      protected final void setControlState(int value) {
# Line 326 | Line 325 | public abstract class LinkedAsyncAction
325      }
326  
327      /**
328 <     * Increment the control state
328 >     * Increments the control state.
329       * @return true if successful
330       */
331      protected final void incrementControlState() {
# Line 334 | Line 333 | public abstract class LinkedAsyncAction
333      }
334  
335      /**
336 <     * Decrement the control state
336 >     * Decrements the control state.
337       * @return true if successful
338       */
339      protected final void decrementControlState() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines