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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user