Type safety, redundant case removal, other cleanup.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@490 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Michael Bayne
2008-05-09 11:39:45 +00:00
parent 95400b6050
commit 51c01493f2
9 changed files with 63 additions and 78 deletions
@@ -3,6 +3,7 @@
package com.threerings.jme.data;
import com.threerings.crowd.client.PlaceController;
import com.threerings.crowd.data.PlaceConfig;
import com.threerings.jme.client.JabberController;
@@ -12,9 +13,9 @@ import com.threerings.jme.client.JabberController;
public class JabberConfig extends PlaceConfig
{
// documentation inherited
public Class getControllerClass ()
public PlaceController createController ()
{
return JabberController.class;
return new JabberController();
}
// documentation inherited
@@ -63,10 +63,10 @@ public class TestSoundManager
}
while (true) {
Runnable r = (Runnable)_queue.get();
Runnable r = _queue.get();
r.run();
}
}
protected static Queue _queue = new Queue();
protected static Queue<Runnable> _queue = new Queue<Runnable>();
}