28 |
|
* |
29 |
|
* Written by Doug Lea with assistance from members of JCP JSR-166 |
30 |
|
* Expert Group and released to the public domain, as explained at |
31 |
< |
* http://creativecommons.org/licenses/publicdomain |
31 |
> |
* http://creativecommons.org/publicdomain/zero/1.0/ |
32 |
|
*/ |
33 |
|
|
34 |
|
/* |
89 |
|
protected boolean quittingTime(long i) { |
90 |
|
return (i % 1024) == 0 && quittingTime(); |
91 |
|
} |
92 |
< |
abstract protected void realRun(); |
92 |
> |
protected abstract void realRun(); |
93 |
|
public void run() { |
94 |
|
try { realRun(); } catch (Throwable t) { unexpected(t); } |
95 |
|
} |