# | Line 44 | Line 44 | public class CancellableTask implements | |
---|---|---|
44 | private volatile Runnable runnable; | |
45 | ||
46 | /** | |
47 | < | * Creates a new CancellableTask invoking the given |
48 | < | * runnable when executed. |
47 | > | * Creates a new CancellableTask which invokes the given |
48 | > | * <tt>Runnable</tt> when executed. |
49 | */ | |
50 | public CancellableTask(Runnable r) { | |
51 | this.runnable = r; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |