Nixed unused variable references.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@686 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2008-07-26 22:04:34 +00:00
parent dd285192d9
commit eb935ecfab
5 changed files with 2 additions and 6 deletions
@@ -71,7 +71,6 @@ public class LobbySelector extends JPanel
@Override @Override
public void mouseClicked (MouseEvent e) { public void mouseClicked (MouseEvent e) {
if (e.getClickCount() == 2) { if (e.getClickCount() == 2) {
int index = _loblist.locationToIndex(e.getPoint());
Object item = _loblist.getSelectedValue(); Object item = _loblist.getSelectedValue();
enterLobby((Lobby)item); enterLobby((Lobby)item);
} }
@@ -64,7 +64,6 @@ public class ParlorManager
// ", config=" + config + "]."); // ", config=" + config + "].");
BodyObject source = (BodyObject)caller; BodyObject source = (BodyObject)caller;
String rsp = null;
// ensure that the invitee is online at present // ensure that the invitee is online at present
BodyObject target = _locator.lookupBody(invitee); BodyObject target = _locator.lookupBody(invitee);
@@ -363,7 +363,7 @@ public abstract class PuzzleManager extends GameManager
int size = gevents.length; int size = gevents.length;
boolean before = compareBeforeApply(); boolean before = compareBeforeApply();
for (int ii = 0, pos = 0; ii < size; ii++) { for (int ii = 0; ii < size; ii++) {
int gevent = gevents[ii]; int gevent = gevents[ii];
Board cboard = (states == null) ? null : states[ii]; Board cboard = (states == null) ? null : states[ii];
@@ -51,7 +51,6 @@ import com.samskivert.swing.util.MenuUtil;
import com.samskivert.swing.util.SwingUtil; import com.samskivert.swing.util.SwingUtil;
import com.threerings.media.ManagedJFrame; import com.threerings.media.ManagedJFrame;
import com.threerings.miso.tile.BaseTileSet; import com.threerings.miso.tile.BaseTileSet;
import com.threerings.miso.util.MisoSceneMetrics;
import com.threerings.stage.data.StageScene; import com.threerings.stage.data.StageScene;
import com.threerings.stage.data.StageSceneModel; import com.threerings.stage.data.StageSceneModel;
@@ -287,7 +286,6 @@ public class EditorFrame extends ManagedJFrame
protected void newScene () protected void newScene ()
{ {
try { try {
MisoSceneMetrics metrics = _svpanel.getSceneMetrics();
StageSceneModel model = StageSceneModel.blankStageSceneModel(); StageSceneModel model = StageSceneModel.blankStageSceneModel();
model.type = StageSceneModel.WORLD; model.type = StageSceneModel.WORLD;
setScene(new StageScene(model, null)); setScene(new StageScene(model, null));
@@ -55,7 +55,7 @@ public class PercentilerTest extends TestCase
// serialize and unserialize // serialize and unserialize
Percentiler t2 = new Percentiler(tiler.toBytes()); Percentiler t2 = new Percentiler(tiler.toBytes());
// and dump again // and dump again
tiler.dump(System.out); t2.dump(System.out);
} }
public static Test suite () public static Test suite ()