TimerTask is already Runnable.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@1559 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
ray
2004-12-23 21:16:26 +00:00
parent 3bdf982c8a
commit 3aa4be39a3
@@ -130,9 +130,8 @@ public abstract class Interval
* The task that schedules actually runs the interval. * The task that schedules actually runs the interval.
*/ */
protected class IntervalTask extends TimerTask protected class IntervalTask extends TimerTask
implements Runnable
{ {
// inherited from both TimerTask and Runnable // documentation inherited
public void run () { public void run () {
if (_runQueue == null || _runQueue.isDispatchThread()) { if (_runQueue == null || _runQueue.isDispatchThread()) {
safelyExpire(this); safelyExpire(this);