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