Better toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2351 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: ChatMessage.java,v 1.2 2003/01/21 01:08:10 mdb Exp $
|
// $Id: ChatMessage.java,v 1.3 2003/03/30 02:52:53 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.crowd.chat;
|
package com.threerings.crowd.chat;
|
||||||
|
|
||||||
@@ -35,7 +35,7 @@ public abstract class ChatMessage
|
|||||||
*/
|
*/
|
||||||
public String toString ()
|
public String toString ()
|
||||||
{
|
{
|
||||||
return StringUtil.shortClassName(this) + "[msg=" + message +
|
return StringUtil.shortClassName(this) +
|
||||||
", type=" + localtype + ", stamp=" + timestamp + "]";
|
StringUtil.fieldsToString(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user