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:
Charlie Groves
2009-07-20 23:57:24 +00:00
parent c82c8bdf9b
commit 0cd0a67679
@@ -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 + ")";
}
};
}