TimerTask is already Runnable.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1559 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -130,9 +130,8 @@ public abstract class Interval
|
||||
* The task that schedules actually runs the interval.
|
||||
*/
|
||||
protected class IntervalTask extends TimerTask
|
||||
implements Runnable
|
||||
{
|
||||
// inherited from both TimerTask and Runnable
|
||||
// documentation inherited
|
||||
public void run () {
|
||||
if (_runQueue == null || _runQueue.isDispatchThread()) {
|
||||
safelyExpire(this);
|
||||
|
||||
Reference in New Issue
Block a user