More style fixes.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5242 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-07-19 09:50:20 +00:00
parent 6b1d65553f
commit d01715a369
22 changed files with 90 additions and 102 deletions
@@ -65,7 +65,7 @@ public class ChatProvider
* Called following the delivery of <code>message</code> from <code>teller</code> to
* <code>tellee</code>.
*/
public void sentTell (BodyObject teller, BodyObject tellee, String message);
void sentTell (BodyObject teller, BodyObject tellee, String message);
}
/** Used to forward certain types of chat messages between servers in a multi-server setup. */
@@ -76,12 +76,12 @@ public class ChatProvider
*
* @return true if the tell was delivered, false otherwise.
*/
public boolean forwardTell (UserMessage message, Name target, TellListener listener);
boolean forwardTell (UserMessage message, Name target, TellListener listener);
/**
* Requests that the supplied broadcast message be delivered on other servers.
*/
public void forwardBroadcast (Name from, String bundle, String msg, boolean attention);
void forwardBroadcast (Name from, String bundle, String msg, boolean attention);
}
/**
@@ -48,11 +48,10 @@ public class SpeakHandler
public static interface SpeakerValidator
{
/**
* Should return true if the supplied speaker is allowed to speak
* via the speak provider with which this validator was
* registered.
* Should return true if the supplied speaker is allowed to speak via the speak provider
* with which this validator was registered.
*/
public boolean isValidSpeaker (DObject speakObj, ClientObject speaker, byte mode);
boolean isValidSpeaker (DObject speakObj, ClientObject speaker, byte mode);
}
/**
@@ -57,7 +57,7 @@ public class SpeakUtil
/**
* Called for each player that hears a particular chat message.
*/
public void messageDelivered (Name hearer, UserMessage message);
void messageDelivered (Name hearer, UserMessage message);
}
/**
@@ -333,9 +333,9 @@ public class SpeakUtil
protected Name _hearer;
protected UserMessage _message;
}
/** Recent chat history for the server. */
protected static Map<Name,List<ChatMessage>> _histories = Maps.newHashMap();
protected static Map<Name, List<ChatMessage>> _histories = Maps.newHashMap();
/** Used to note the recipients of a chat message. */
protected static MessageMapper _messageMapper = new MessageMapper();