--- jsr166/src/test/loops/LinkedAsyncAction.java 2012/11/25 21:37:28 1.7 +++ jsr166/src/test/loops/LinkedAsyncAction.java 2012/11/26 05:46:55 1.8 @@ -84,7 +84,7 @@ public abstract class LinkedAsyncAction /** * Creates a new action with the given parent. If the parent is - * non-null, this tasks registers with the parent, in which case, + * non-null, this task registers with the parent, in which case, * the parent task cannot complete until this task completes. * @param parent the parent task, or null if none */ @@ -97,7 +97,7 @@ public abstract class LinkedAsyncAction /** * Creates a new action with the given parent, optionally * registering with the parent. If the parent is non-null and - * register is true, this tasks registers with the + * register is true, this task registers with the * parent, in which case, the parent task cannot complete until * this task completes. * @param parent the parent task, or null if none @@ -114,7 +114,7 @@ public abstract class LinkedAsyncAction * Creates a new action with the given parent, optionally * registering with the parent, and setting the pending join count * to the given value. If the parent is non-null and - * register is true, this tasks registers with the + * register is true, this task registers with the * parent, in which case, the parent task cannot complete until * this task completes. Setting the pending join count requires * care -- it is correct only if child tasks do not themselves @@ -157,7 +157,7 @@ public abstract class LinkedAsyncAction * default version of this method does nothing and returns * true. * @return true if this task's exception should be propagated to - * this tasks parent. + * this task's parent. */ protected boolean onException() { return true; @@ -177,7 +177,7 @@ public abstract class LinkedAsyncAction * Completes this task. If the pending subtask completion count is * zero, invokes onCompletion, then causes this task to * be joinable (isDone becomes true), and then - * recursively applies to this tasks's parent, if it exists. If an + * recursively applies to this task's parent, if it exists. If an * exception is encountered in any onCompletion * invocation, that task and its ancestors * completeExceptionally.