# | Line 145 | Line 145 | public class CancellableTask implements | |
---|---|---|
145 | return runnerUpdater.compareAndSet(this, null, Thread.currentThread()); | |
146 | } | |
147 | ||
148 | + | /** |
149 | + | * Runs the runnable if not cancelled, maintaining run status. |
150 | + | */ |
151 | public void run() { | |
152 | if (setRunning()) { | |
153 | try { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |