Changed the weird-ass argument ordering for the UserMessage constructors. I'd
like to change the ordering for ChatMessage and its other derivations (the bundle should precede the message) but that's more dangerous as the constructor signature would not change. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4253 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -44,7 +44,7 @@ public class UserMessage extends ChatMessage
|
||||
/**
|
||||
* Construct a user message.
|
||||
*/
|
||||
public UserMessage (String message, String bundle, Name speaker, byte mode)
|
||||
public UserMessage (Name speaker, String bundle, String message, byte mode)
|
||||
{
|
||||
super(message, bundle);
|
||||
this.speaker = speaker;
|
||||
@@ -55,7 +55,7 @@ public class UserMessage extends ChatMessage
|
||||
* Constructs a user message for a player originated tell (which has no
|
||||
* bundle and is in the default mode).
|
||||
*/
|
||||
public UserMessage (String message, Name speaker)
|
||||
public UserMessage (Name speaker, String message)
|
||||
{
|
||||
super(message, null);
|
||||
this.speaker = speaker;
|
||||
|
||||
Reference in New Issue
Block a user