StringBuffer -> StringBuilder.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4191 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-06-13 22:42:20 +00:00
parent 3e4ff3564d
commit 79c6427c21
341 changed files with 397 additions and 397 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
//
// $Id: ArrayMask.java,v 1.2 2004/08/27 02:12:36 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
+1 -1
View File
@@ -1,5 +1,5 @@
//
// $Id: ClassMapping.java,v 1.2 2004/08/27 02:12:36 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -35,7 +35,7 @@ public class SimpleStreamableObject implements Streamable
*/
public String toString ()
{
StringBuffer buf = new StringBuffer("[");
StringBuilder buf = new StringBuilder("[");
toString(buf);
return buf.append("]").toString();
}
@@ -44,7 +44,7 @@ public class SimpleStreamableObject implements Streamable
* Handles the toString-ification of all public members. Derived
* classes can override and include non-public members if desired.
*/
protected void toString (StringBuffer buf)
protected void toString (StringBuilder buf)
{
StringUtil.fieldsToString(buf, this);
}
+1 -1
View File
@@ -1,5 +1,5 @@
//
// $Id: Streamable.java,v 1.2 2004/08/27 02:12:36 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -38,7 +38,7 @@ public class TrackedStreamableObject extends TrackedObject
*/
public String toString ()
{
StringBuffer buf = new StringBuffer("[");
StringBuilder buf = new StringBuilder("[");
toString(buf);
return buf.append("]").toString();
}
@@ -47,7 +47,7 @@ public class TrackedStreamableObject extends TrackedObject
* Handles the toString-ification of all public members. Derived
* classes can override and include non-public members if desired.
*/
protected void toString (StringBuffer buf)
protected void toString (StringBuilder buf)
{
StringUtil.fieldsToString(buf, this);
}