Fix deprecation warnings with Interval.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@1112 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -158,7 +158,7 @@ public class SimulatorApp
|
|||||||
// wholly independent thread to wait for the server to be ready as
|
// wholly independent thread to wait for the server to be ready as
|
||||||
// in normal circumstances they are entirely different processes;
|
// in normal circumstances they are entirely different processes;
|
||||||
// so we just wait half a second which does the job
|
// so we just wait half a second which does the job
|
||||||
new Interval() {
|
new Interval(Interval.RUN_DIRECT) {
|
||||||
@Override
|
@Override
|
||||||
public void expired () {
|
public void expired () {
|
||||||
_client.getParlorContext().getClient().logon();
|
_client.getParlorContext().getClient().logon();
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ public class RobotPlayer extends Interval
|
|||||||
*/
|
*/
|
||||||
public RobotPlayer (Component target, KeyTranslator xlate)
|
public RobotPlayer (Component target, KeyTranslator xlate)
|
||||||
{
|
{
|
||||||
|
super(Interval.RUN_DIRECT);
|
||||||
// save off references
|
// save off references
|
||||||
_target = target;
|
_target = target;
|
||||||
_xlate = xlate;
|
_xlate = xlate;
|
||||||
|
|||||||
Reference in New Issue
Block a user