Eclipse suggested cleanup.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2971 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2004-02-25 14:50:28 +00:00
parent 6cd4e73720
commit d618d3c771
169 changed files with 208 additions and 661 deletions
@@ -1,5 +1,5 @@
//
// $Id: ChatPanel.java,v 1.25 2003/06/04 02:50:19 ray Exp $
// $Id: ChatPanel.java,v 1.26 2004/02/25 14:43:37 mdb Exp $
package com.threerings.micasa.client;
@@ -19,7 +19,6 @@ import javax.swing.JTextField;
import javax.swing.JTextPane;
import javax.swing.event.AncestorEvent;
import javax.swing.event.AncestorListener;
import javax.swing.text.BadLocationException;
import javax.swing.text.Document;
@@ -32,8 +31,6 @@ import com.samskivert.swing.HGroupLayout;
import com.samskivert.swing.VGroupLayout;
import com.samskivert.swing.event.AncestorAdapter;
import com.threerings.util.MessageBundle;
import com.threerings.crowd.chat.client.ChatDirector;
import com.threerings.crowd.chat.client.ChatDisplay;
import com.threerings.crowd.chat.data.ChatCodes;
@@ -1,11 +1,10 @@
//
// $Id: ClientController.java,v 1.16 2002/09/20 00:54:39 mdb Exp $
// $Id: ClientController.java,v 1.17 2004/02/25 14:43:37 mdb Exp $
package com.threerings.micasa.client;
import java.awt.event.ActionEvent;
import com.samskivert.swing.Controller;
import com.samskivert.util.StringUtil;
import com.threerings.presents.client.Client;
import com.threerings.presents.client.SessionObserver;
@@ -1,5 +1,5 @@
//
// $Id: LogonPanel.java,v 1.8 2002/09/19 23:36:59 mdb Exp $
// $Id: LogonPanel.java,v 1.9 2004/02/25 14:43:37 mdb Exp $
package com.threerings.micasa.client;
@@ -8,7 +8,6 @@ import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
@@ -1,5 +1,5 @@
//
// $Id: MiCasaClient.java,v 1.17 2003/11/24 17:51:56 mdb Exp $
// $Id: MiCasaClient.java,v 1.18 2004/02/25 14:43:37 mdb Exp $
package com.threerings.micasa.client;
@@ -21,7 +21,6 @@ import com.threerings.crowd.client.PlaceView;
import com.threerings.parlor.client.ParlorDirector;
import com.threerings.micasa.Log;
import com.threerings.micasa.util.MiCasaContext;
/**
@@ -1,24 +1,21 @@
//
// $Id: LobbyDispatcher.java,v 1.2 2002/08/20 19:38:14 mdb Exp $
// $Id: LobbyDispatcher.java,v 1.3 2004/02/25 14:43:37 mdb Exp $
package com.threerings.micasa.lobby;
import com.threerings.micasa.lobby.LobbyMarshaller;
import com.threerings.micasa.lobby.LobbyService;
import com.threerings.micasa.lobby.LobbyService.CategoriesListener;
import com.threerings.micasa.lobby.LobbyService.LobbiesListener;
import com.threerings.presents.client.Client;
import com.threerings.presents.data.ClientObject;
import com.threerings.presents.data.InvocationMarshaller;
import com.threerings.presents.server.InvocationDispatcher;
import com.threerings.presents.server.InvocationException;
import java.util.List;
/**
* Dispatches requests to the {@link LobbyProvider}.
*
* <p> Generated from <code>
* $Id: LobbyDispatcher.java,v 1.2 2002/08/20 19:38:14 mdb Exp $
* $Id: LobbyDispatcher.java,v 1.3 2004/02/25 14:43:37 mdb Exp $
* </code>
*/
public class LobbyDispatcher extends InvocationDispatcher
@@ -1,12 +1,11 @@
//
// $Id: LobbyManager.java,v 1.6 2003/06/03 21:41:33 ray Exp $
// $Id: LobbyManager.java,v 1.7 2004/02/25 14:43:37 mdb Exp $
package com.threerings.micasa.lobby;
import java.util.Properties;
import com.samskivert.util.StringUtil;
import com.threerings.crowd.chat.data.ChatCodes;
import com.threerings.crowd.server.PlaceManager;
import com.threerings.micasa.Log;
@@ -1,11 +1,9 @@
//
// $Id: LobbyMarshaller.java,v 1.2 2002/08/20 19:38:14 mdb Exp $
// $Id: LobbyMarshaller.java,v 1.3 2004/02/25 14:43:37 mdb Exp $
package com.threerings.micasa.lobby;
import com.threerings.micasa.lobby.LobbyService;
import com.threerings.micasa.lobby.LobbyService.CategoriesListener;
import com.threerings.micasa.lobby.LobbyService.LobbiesListener;
import com.threerings.presents.client.Client;
import com.threerings.presents.data.InvocationMarshaller;
import com.threerings.presents.dobj.InvocationResponseEvent;
@@ -19,7 +17,7 @@ import java.util.List;
* to the requesting client.
*
* <p> Generated from <code>
* $Id: LobbyMarshaller.java,v 1.2 2002/08/20 19:38:14 mdb Exp $
* $Id: LobbyMarshaller.java,v 1.3 2004/02/25 14:43:37 mdb Exp $
* </code>
*/
public class LobbyMarshaller extends InvocationMarshaller
@@ -1,5 +1,5 @@
//
// $Id: LobbySelector.java,v 1.5 2002/08/14 19:07:49 mdb Exp $
// $Id: LobbySelector.java,v 1.6 2004/02/25 14:43:37 mdb Exp $
package com.threerings.micasa.lobby;
@@ -10,10 +10,6 @@ import java.awt.event.*;
import java.util.*;
import javax.swing.*;
import javax.swing.event.AncestorEvent;
import com.samskivert.swing.event.AncestorAdapter;
import com.samskivert.util.StringUtil;
import com.threerings.crowd.data.PlaceObject;
@@ -1,18 +1,13 @@
//
// $Id: TableGameConfigurator.java,v 1.1 2002/07/25 23:20:22 mdb Exp $
// $Id: TableGameConfigurator.java,v 1.2 2004/02/25 14:43:37 mdb Exp $
package com.threerings.micasa.lobby.table;
import javax.swing.JPanel;
import javax.swing.JSlider;
import com.samskivert.swing.HGroupLayout;
import com.samskivert.swing.VGroupLayout;
import com.samskivert.swing.SimpleSlider;
import com.samskivert.swing.VGroupLayout;
import com.threerings.parlor.client.GameConfigurator;
import com.threerings.parlor.data.TableConfig;
import com.threerings.parlor.util.ParlorContext;
/**
* Extends the basic game configurator with elements to support the
@@ -1,42 +1,35 @@
//
// $Id: TableListView.java,v 1.6 2003/01/11 01:03:02 shaper Exp $
// $Id: TableListView.java,v 1.7 2004/02/25 14:43:37 mdb Exp $
package com.threerings.micasa.lobby.table;
import java.util.Iterator;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Iterator;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JSlider;
import javax.swing.JTabbedPane;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import com.samskivert.swing.HGroupLayout;
import com.samskivert.swing.VGroupLayout;
import com.samskivert.swing.util.SwingUtil;
import com.threerings.crowd.client.PlaceView;
import com.threerings.crowd.data.PlaceObject;
import com.threerings.micasa.Log;
import com.threerings.micasa.lobby.LobbyConfig;
import com.threerings.micasa.util.MiCasaContext;
import com.threerings.parlor.client.GameConfigurator;
import com.threerings.parlor.client.SeatednessObserver;
import com.threerings.parlor.client.TableDirector;
import com.threerings.parlor.client.TableObserver;
import com.threerings.parlor.data.Table;
import com.threerings.parlor.data.TableConfig;
import com.threerings.parlor.game.GameConfig;
import com.threerings.micasa.Log;
import com.threerings.micasa.lobby.LobbyConfig;
import com.threerings.micasa.util.MiCasaContext;
import com.threerings.crowd.client.PlaceView;
import com.threerings.crowd.data.PlaceObject;
/**
* A view that displays the tables in a table lobby. It displays two
@@ -1,5 +1,5 @@
//
// $Id: SimpleClient.java,v 1.10 2003/12/10 03:31:41 mdb Exp $
// $Id: SimpleClient.java,v 1.11 2004/02/25 14:43:37 mdb Exp $
package com.threerings.micasa.simulator.client;
@@ -24,9 +24,7 @@ import com.threerings.crowd.client.PlaceView;
import com.threerings.parlor.client.ParlorDirector;
import com.threerings.parlor.util.ParlorContext;
import com.threerings.micasa.Log;
import com.threerings.micasa.client.MiCasaFrame;
import com.threerings.micasa.simulator.data.SimulatorInfo;
import com.threerings.micasa.util.MiCasaContext;
public class SimpleClient
@@ -1,14 +1,11 @@
//
// $Id: SimpleFrame.java,v 1.3 2002/07/12 03:49:37 mdb Exp $
// $Id: SimpleFrame.java,v 1.4 2004/02/25 14:43:37 mdb Exp $
package com.threerings.micasa.simulator.client;
import java.awt.BorderLayout;
import javax.swing.JFrame;
import javax.swing.JPanel;
import com.samskivert.swing.Controller;
import com.samskivert.swing.util.SwingUtil;
import com.threerings.micasa.client.MiCasaFrame;
@@ -1,11 +1,10 @@
//
// $Id: SimulatorController.java,v 1.1 2002/11/12 19:54:05 shaper Exp $
// $Id: SimulatorController.java,v 1.2 2004/02/25 14:43:37 mdb Exp $
package com.threerings.micasa.simulator.client;
import java.awt.event.ActionEvent;
import com.samskivert.swing.Controller;
import com.samskivert.util.StringUtil;
import com.threerings.presents.client.Client;
import com.threerings.presents.client.SessionObserver;
@@ -1,5 +1,5 @@
//
// $Id: SimulatorMarshaller.java,v 1.2 2002/08/20 19:38:14 mdb Exp $
// $Id: SimulatorMarshaller.java,v 1.3 2004/02/25 14:43:37 mdb Exp $
package com.threerings.micasa.simulator.data;
@@ -7,7 +7,6 @@ import com.threerings.micasa.simulator.client.SimulatorService;
import com.threerings.parlor.game.GameConfig;
import com.threerings.presents.client.Client;
import com.threerings.presents.data.InvocationMarshaller;
import com.threerings.presents.dobj.InvocationResponseEvent;
/**
* Provides the implementation of the {@link SimulatorService} interface
@@ -17,7 +16,7 @@ import com.threerings.presents.dobj.InvocationResponseEvent;
* to the requesting client.
*
* <p> Generated from <code>
* $Id: SimulatorMarshaller.java,v 1.2 2002/08/20 19:38:14 mdb Exp $
* $Id: SimulatorMarshaller.java,v 1.3 2004/02/25 14:43:37 mdb Exp $
* </code>
*/
public class SimulatorMarshaller extends InvocationMarshaller
@@ -1,11 +1,10 @@
//
// $Id: SimpleServer.java,v 1.6 2002/08/15 23:21:45 mdb Exp $
// $Id: SimpleServer.java,v 1.7 2004/02/25 14:43:37 mdb Exp $
package com.threerings.micasa.simulator.server;
import com.samskivert.util.ResultListener;
import com.threerings.crowd.data.BodyObject;
import com.threerings.micasa.server.MiCasaServer;
/**
@@ -1,12 +1,10 @@
//
// $Id: SimulatorDispatcher.java,v 1.2 2002/08/20 19:38:14 mdb Exp $
// $Id: SimulatorDispatcher.java,v 1.3 2004/02/25 14:43:37 mdb Exp $
package com.threerings.micasa.simulator.server;
import com.threerings.micasa.simulator.client.SimulatorService;
import com.threerings.micasa.simulator.data.SimulatorMarshaller;
import com.threerings.parlor.game.GameConfig;
import com.threerings.presents.client.Client;
import com.threerings.presents.data.ClientObject;
import com.threerings.presents.data.InvocationMarshaller;
import com.threerings.presents.server.InvocationDispatcher;
@@ -16,7 +14,7 @@ import com.threerings.presents.server.InvocationException;
* Dispatches requests to the {@link SimulatorProvider}.
*
* <p> Generated from <code>
* $Id: SimulatorDispatcher.java,v 1.2 2002/08/20 19:38:14 mdb Exp $
* $Id: SimulatorDispatcher.java,v 1.3 2004/02/25 14:43:37 mdb Exp $
* </code>
*/
public class SimulatorDispatcher extends InvocationDispatcher
@@ -1,5 +1,5 @@
//
// $Id: SimulatorManager.java,v 1.14 2002/10/15 22:47:48 shaper Exp $
// $Id: SimulatorManager.java,v 1.15 2004/02/25 14:43:37 mdb Exp $
package com.threerings.micasa.simulator.server;
@@ -10,7 +10,6 @@ import com.threerings.presents.dobj.RootDObjectManager;
import com.threerings.presents.server.ClientManager;
import com.threerings.presents.server.ClientResolutionListener;
import com.threerings.presents.server.InvocationManager;
import com.threerings.presents.server.InvocationProvider;
import com.threerings.crowd.data.BodyObject;
import com.threerings.crowd.data.PlaceObject;
@@ -1,12 +1,10 @@
//
// $Id: SimulatorServer.java,v 1.7 2002/06/10 19:16:41 shaper Exp $
// $Id: SimulatorServer.java,v 1.8 2004/02/25 14:43:37 mdb Exp $
package com.threerings.micasa.simulator.server;
import com.samskivert.util.ResultListener;
import com.threerings.crowd.data.BodyObject;
/**
* The simulator manager needs a mechanism for faking body object
* registrations, which is provided by implementations of this interface.