Include the Runnable's toString in the toString of Intervals created by PresentsDObjectMgr
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5883 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -280,6 +280,7 @@ public class PresentsDObjectMgr
|
||||
public Interval newInterval (final Runnable action)
|
||||
{
|
||||
return new Interval() {
|
||||
@Override
|
||||
public void expired () {
|
||||
if (isRunning()) {
|
||||
postRunnable(new Runnable() {
|
||||
@@ -296,6 +297,11 @@ public class PresentsDObjectMgr
|
||||
cancel();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "DObjectManagerInterval(" + action + ")";
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user