Fix some deprecation warnings with Interval.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6764 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2012-01-10 21:06:16 +00:00
parent d59cb2d72f
commit db54048345
2 changed files with 2 additions and 2 deletions
@@ -140,7 +140,7 @@ public class ClientCommunicator extends BlockingCommunicator
protected class PrefPortInterval extends Interval
{
public PrefPortInterval (String key, int thisPort, int nextPort) {
super();
super(Interval.RUN_DIRECT);
_key = key;
_thisPort = thisPort;
_nextPort = nextPort;
@@ -266,7 +266,7 @@ public abstract class RebootManager
broadcast("m.rebooting_now");
// wait 1 second, then do it
new Interval() { // Note: This interval does not run on the dobj thread
new Interval(Interval.RUN_DIRECT) {
@Override public void expired () {
_server.queueShutdown(); // this posts a LongRunnable
}