Modified DObject.toString() to use fieldsToString() so that all of its

derived classes need not do their own toString()ing.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@928 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-02-04 01:47:20 +00:00
parent 5bb4e3435b
commit a83e512270
8 changed files with 12 additions and 76 deletions
@@ -1,5 +1,5 @@
//
// $Id: GameObject.dobj,v 1.5 2001/10/17 02:48:57 mdb Exp $
// $Id: GameObject.dobj,v 1.6 2002/02/04 01:47:20 mdb Exp $
package com.threerings.parlor.game;
@@ -70,13 +70,4 @@ public class GameObject extends PlaceObject
{
requestAttributeChange(PLAYERS, value);
}
// documentation inherited
protected void toString (StringBuffer buf)
{
super.toString(buf);
buf.append(", state=").append(state);
buf.append(", isRated=").append(isRated);
buf.append(", players=").append(StringUtil.toString(players));
}
}