Fixed type-unsafety and deprecation bits.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4247 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2006-07-05 18:59:31 +00:00
parent bdadd2377e
commit 77290fc1a6
9 changed files with 46 additions and 52 deletions
@@ -67,7 +67,7 @@ public class TestClient
// loop over our queue, running the runnables
while (true) {
Runnable run = (Runnable)_queue.get();
Runnable run = _queue.get();
run.run();
}
}
@@ -184,5 +184,5 @@ public class TestClient
protected ChatDirector _chatdir;
protected Thread _main;
protected Queue _queue = new Queue();
protected Queue<Runnable> _queue = new Queue<Runnable>();
}
@@ -4,6 +4,7 @@
package com.threerings.crowd.data;
import com.threerings.crowd.client.JabberController;
import com.threerings.crowd.client.PlaceController;
import com.threerings.crowd.data.PlaceConfig;
/**
@@ -12,9 +13,9 @@ import com.threerings.crowd.data.PlaceConfig;
public class JabberConfig extends PlaceConfig
{
// documentation inherited
public Class getControllerClass ()
public PlaceController createController ()
{
return JabberController.class;
return new JabberController();
}
// documentation inherited