From 41003c6059cb137977ab9adde69bc204f89870d6 Mon Sep 17 00:00:00 2001 From: Dave Hoover Date: Mon, 23 Feb 2009 21:53:18 +0000 Subject: [PATCH] Widen/remove unused variable git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5663 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../crowd/chat/client/ChatService.java | 23 +++++++++---------- .../presents/server/ClientManager.java | 1 - 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/src/java/com/threerings/crowd/chat/client/ChatService.java b/src/java/com/threerings/crowd/chat/client/ChatService.java index 8cc0aed08..d11ae4a65 100644 --- a/src/java/com/threerings/crowd/chat/client/ChatService.java +++ b/src/java/com/threerings/crowd/chat/client/ChatService.java @@ -27,11 +27,10 @@ import com.threerings.presents.client.Client; import com.threerings.presents.client.InvocationService; /** - * The chat services provide a mechanism by which the client can broadcast - * chat messages to all clients that are subscribed to a particular place - * object or directly to a particular client. These services should not be - * used directly, but instead should be accessed via the {@link - * ChatDirector}. + * The chat services provide a mechanism by which the client can broadcast chat messages to all + * clients that are subscribed to a particular place object or directly to a particular client. + * These services should not be used directly, but instead should be accessed via the + * {@link ChatDirector}. */ public interface ChatService extends InvocationService { @@ -42,7 +41,7 @@ public interface ChatService extends InvocationService { /** * 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 awayMessage the away message configured by the told player or null if they have * no away message. @@ -51,9 +50,9 @@ public interface ChatService extends InvocationService } /** - * Requests that a tell message be delivered to the user with username - * equal to target. - * + * Requests that a tell message be delivered to the user with username equal to + * target. + * * @param client a connected, operational client instance. * @param target the username of the user to which the tell message should be delivered. * @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. - * + * * @param client a connected, operational client instance. * @param message the contents of the message. * @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); /** - * Sets this client's away message. If the message is null or the - * empty string, the away message will be cleared. + * Sets this client's away message. If the message is null or the empty string, the away + * message will be cleared. */ void away (Client client, String message); } diff --git a/src/java/com/threerings/presents/server/ClientManager.java b/src/java/com/threerings/presents/server/ClientManager.java index 7867bb6f5..e69e1e920 100644 --- a/src/java/com/threerings/presents/server/ClientManager.java +++ b/src/java/com/threerings/presents/server/ClientManager.java @@ -486,7 +486,6 @@ public class ClientManager { // remove the client from the username map Name username = session.getCredentials().getUsername(); - String type = username.getClass().getSimpleName(); PresentsSession rc; synchronized (_usermap) { rc = _usermap.remove(username);