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;
/**
* 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 <code>target</code>.
*
* Requests that a tell message be delivered to the user with username equal to
* <code>target</code>.
*
* @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);
}
@@ -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);