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

Comparing jsr166/src/main/java/util/concurrent/CancellableTask.java (file contents):
Revision 1.9 by dl, Tue Aug 5 00:37:41 2003 UTC vs.
Revision 1.10 by tim, Wed Aug 6 18:22:09 2003 UTC

# Line 95 | Line 95 | public class CancellableTask implements
95      /**
96       * Return the Runnable forming the basis of this task.
97       * @return the runnable action
98 +     * @see #setRunnable
99       */
100      protected Runnable getRunnable() {
101          return runnable;
# Line 103 | Line 104 | public class CancellableTask implements
104      /**
105       * Set the Runnable forming the basis of this task.
106       * @param r the runnable action
107 +     * @see #getRunnable
108       */
109      protected void setRunnable(Runnable r) {
110          runnable = r;
111      }
112  
113      /**
114 <     * Set the state of this task to Cancelled
114 >     * Set the state of this task to Cancelled.
115       */
116      protected void setCancelled() {
117          runnerUpdater.set(this, CANCELLED);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines