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:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: BodyObject.dobj,v 1.6 2002/02/03 03:09:06 mdb Exp $
|
||||
// $Id: BodyObject.dobj,v 1.7 2002/02/04 01:47:20 mdb Exp $
|
||||
|
||||
package com.threerings.crowd.data;
|
||||
|
||||
@@ -45,11 +45,4 @@ public class BodyObject extends ClientObject
|
||||
this.location = location;
|
||||
requestAttributeChange(LOCATION, new Integer(location));
|
||||
}
|
||||
|
||||
protected void toString (StringBuffer buf)
|
||||
{
|
||||
super.toString(buf);
|
||||
buf.append(", username=").append(username);
|
||||
buf.append(", location=").append(location);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: PlaceObject.dobj,v 1.6 2001/10/11 04:07:51 mdb Exp $
|
||||
// $Id: PlaceObject.dobj,v 1.7 2002/02/04 01:47:20 mdb Exp $
|
||||
|
||||
package com.threerings.crowd.data;
|
||||
|
||||
@@ -70,11 +70,4 @@ public class PlaceObject extends DObject
|
||||
{
|
||||
requestElementUpdate(OCCUPANT_INFO, elem);
|
||||
}
|
||||
|
||||
protected void toString (StringBuffer buf)
|
||||
{
|
||||
super.toString(buf);
|
||||
buf.append(", occupants=").append(occupants);
|
||||
buf.append(", occupantInfo=").append(occupantInfo);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user