Have the runnable's toString() report the Interval's name to aid in

debugging.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1632 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
ray
2005-04-12 16:15:26 +00:00
parent 47b1f6dd81
commit 01ff0d53e6
@@ -153,6 +153,12 @@ public abstract class Interval
public void run () {
safelyExpire(IntervalTask.this);
}
// to aid in debugging, this run unit reports its
// name as that of the interval.
public String toString () {
return Interval.this.toString();
}
};
}
_runQueue.postRunnable(_runner);