Use Joiner instead of StringBuilder, in some places.

Use String concatination in others (it's faster in actionscript than in Java)


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5959 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2009-09-16 21:13:07 +00:00
parent 9f967dd575
commit 055aac9b55
23 changed files with 102 additions and 214 deletions
@@ -21,7 +21,7 @@
package com.threerings.presents.dobj {
import com.threerings.util.StringBuilder;
import com.threerings.util.Joiner;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
@@ -99,11 +99,10 @@ public class ObjectRemovedEvent extends NamedEvent
}
// documentation inherited
override protected function toStringBuf (buf :StringBuilder) :void
override protected function toStringJoiner (j :Joiner) :void
{
buf.append("OBJREM:");
super.toStringBuf(buf);
buf.append(", oid=", _oid);
super.toStringJoiner(j);
j.add("oid", _oid);
}
protected var _oid :int;