Widen/remove unused variable

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5663 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Dave Hoover
2009-02-23 21:53:18 +00:00
parent fe357a5099
commit 41003c6059
2 changed files with 11 additions and 13 deletions
@@ -27,11 +27,10 @@ import com.threerings.presents.client.Client;
import com.threerings.presents.client.InvocationService; import com.threerings.presents.client.InvocationService;
/** /**
* The chat services provide a mechanism by which the client can broadcast * The chat services provide a mechanism by which the client can broadcast chat messages to all
* chat messages to all clients that are subscribed to a particular place * clients that are subscribed to a particular place object or directly to a particular client.
* object or directly to a particular client. These services should not be * These services should not be used directly, but instead should be accessed via the
* used directly, but instead should be accessed via the {@link * {@link ChatDirector}.
* ChatDirector}.
*/ */
public interface ChatService extends InvocationService public interface ChatService extends InvocationService
{ {
@@ -42,7 +41,7 @@ public interface ChatService extends InvocationService
{ {
/** /**
* Communicates the response to a {@link ChatService#tell} request. * Communicates the response to a {@link ChatService#tell} request.
* *
* @param idleTime the number of ms the tellee has been idle or 0L if they are not idle. * @param idleTime the number of ms the tellee has been idle or 0L if they are not idle.
* @param awayMessage the away message configured by the told player or null if they have * @param awayMessage the away message configured by the told player or null if they have
* no away message. * no away message.
@@ -51,9 +50,9 @@ public interface ChatService extends InvocationService
} }
/** /**
* Requests that a tell message be delivered to the user with username * Requests that a tell message be delivered to the user with username equal to
* equal to <code>target</code>. * <code>target</code>.
* *
* @param client a connected, operational client instance. * @param client a connected, operational client instance.
* @param target the username of the user to which the tell message should be delivered. * @param target the username of the user to which the tell message should be delivered.
* @param message the contents of the message. * @param message the contents of the message.
@@ -63,7 +62,7 @@ public interface ChatService extends InvocationService
/** /**
* Requests that a message be broadcast to all users in the system. * Requests that a message be broadcast to all users in the system.
* *
* @param client a connected, operational client instance. * @param client a connected, operational client instance.
* @param message the contents of the message. * @param message the contents of the message.
* @param listener the reference that will receive a failure response. * @param listener the reference that will receive a failure response.
@@ -71,8 +70,8 @@ public interface ChatService extends InvocationService
void broadcast (Client client, String message, InvocationListener listener); void broadcast (Client client, String message, InvocationListener listener);
/** /**
* Sets this client's away message. If the message is null or the * Sets this client's away message. If the message is null or the empty string, the away
* empty string, the away message will be cleared. * message will be cleared.
*/ */
void away (Client client, String message); void away (Client client, String message);
} }
@@ -486,7 +486,6 @@ public class ClientManager
{ {
// remove the client from the username map // remove the client from the username map
Name username = session.getCredentials().getUsername(); Name username = session.getCredentials().getUsername();
String type = username.getClass().getSimpleName();
PresentsSession rc; PresentsSession rc;
synchronized (_usermap) { synchronized (_usermap) {
rc = _usermap.remove(username); rc = _usermap.remove(username);