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: AuthResponseData.java,v 1.9 2001/10/11 04:07:53 mdb Exp $
|
||||
// $Id: AuthResponseData.java,v 1.10 2002/02/04 01:47:20 mdb Exp $
|
||||
|
||||
package com.threerings.presents.net;
|
||||
|
||||
@@ -21,11 +21,4 @@ public class AuthResponseData extends DObject
|
||||
* why the authentication failed.
|
||||
*/
|
||||
public String code;
|
||||
|
||||
// documentation inherited
|
||||
protected void toString (StringBuffer buf)
|
||||
{
|
||||
super.toString(buf);
|
||||
buf.append(", code=").append(code);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: BootstrapData.java,v 1.3 2001/10/11 04:07:53 mdb Exp $
|
||||
// $Id: BootstrapData.java,v 1.4 2002/02/04 01:47:20 mdb Exp $
|
||||
|
||||
package com.threerings.presents.net;
|
||||
|
||||
@@ -18,12 +18,4 @@ public class BootstrapData extends DObject
|
||||
|
||||
/** The oid to which to send invocation requests. */
|
||||
public int invOid;
|
||||
|
||||
// documentation inherited
|
||||
public void toString (StringBuffer buf)
|
||||
{
|
||||
super.toString(buf);
|
||||
buf.append(", clientOid=").append(clientOid);
|
||||
buf.append(", invOid=").append(invOid);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user