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: Log.java,v 1.2 2004/08/27 02:12:23 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: ActionCache.java,v 1.3 2004/08/27 02:12:25 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: ActionSequence.java,v 1.8 2004/08/27 02:12:25 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: CastPrefs.java,v 1.2 2004/08/27 02:12:25 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: CharacterDescriptor.java,v 1.11 2004/08/27 02:12:25 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -215,7 +215,7 @@ public class ComponentClass implements Serializable
*/
public String toString ()
{
StringBuffer buf = new StringBuffer("[");
StringBuilder buf = new StringBuilder("[");
buf.append("name=").append(name);
buf.append(", pri=").append(renderPriority);
if (colors != null) {
@@ -1,5 +1,5 @@
//
// $Id: ComponentIDBroker.java,v 1.2 2004/08/27 02:12:25 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: ComponentRepository.java,v 1.6 2004/08/27 02:12:25 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: Log.java,v 1.2 2004/08/27 02:12:25 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: NoSuchComponentException.java,v 1.4 2004/08/27 02:12:25 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: TrimmedMultiFrameImage.java,v 1.3 2004/08/27 02:12:26 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: BuilderModelListener.java,v 1.4 2004/08/27 02:12:26 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: BuilderPanel.java,v 1.8 2004/08/27 02:12:26 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: ClassEditor.java,v 1.5 2004/08/27 02:12:26 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: ComponentPanel.java,v 1.9 2004/08/27 02:12:26 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: SpritePanel.java,v 1.18 2004/08/27 02:12:26 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: BundleUtil.java,v 1.10 2004/10/18 21:39:18 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: DumpBundle.java,v 1.4 2004/08/27 02:12:28 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: MetadataBundlerTask.java,v 1.6 2004/08/27 02:12:28 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: Log.java,v 1.5 2004/08/27 02:12:29 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -880,7 +880,7 @@ public class ChatDirector extends BasicDirector
Pattern p = Pattern.compile("([^\\.][\\.\\?\\!](\\s)+\\p{Ll})");
Matcher m = p.matcher(buf);
if (m.find()) {
buf = new StringBuffer();
buf = new StringBuilder();
m.appendReplacement(buf, m.group().toUpperCase());
while (m.find()) {
m.appendReplacement(buf, m.group().toUpperCase());
@@ -1,5 +1,5 @@
//
// $Id: ChatDisplay.java,v 1.18 2004/08/27 02:12:30 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: ChatFilter.java,v 1.3 2004/08/27 02:12:30 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: ChatMessage.java,v 1.5 2004/08/27 02:12:31 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: SystemMessage.java,v 1.4 2004/08/27 02:12:31 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: TellFeedbackMessage.java,v 1.3 2004/08/27 02:12:31 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: UserMessage.java,v 1.4 2004/08/27 02:12:31 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: LocationAdapter.java,v 1.3 2004/08/27 02:12:32 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: LocationObserver.java,v 1.5 2004/08/27 02:12:33 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: MoveFailedException.java,v 1.2 2004/08/27 02:12:33 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: MoveVetoedException.java,v 1.2 2004/08/27 02:12:33 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: OccupantAdapter.java,v 1.2 2004/08/27 02:12:33 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: OccupantObserver.java,v 1.5 2004/08/27 02:12:33 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: PlaceControllerDelegate.java,v 1.3 2004/08/27 02:12:33 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: PlacePanel.java,v 1.3 2004/08/27 02:12:33 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: PlaceView.java,v 1.6 2004/08/27 02:12:33 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: PlaceViewUtil.java,v 1.4 2004/08/27 02:12:33 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -138,7 +138,7 @@ public class BodyObject extends ClientObject
// documentation inherited
public String who ()
{
StringBuffer buf = new StringBuffer(username.toString());
StringBuilder buf = new StringBuilder(username.toString());
buf.append(" (").append(getOid());
if (status != OccupantInfo.ACTIVE) {
buf.append(" ").append(OccupantInfo.X_STATUS[status]);
@@ -1,5 +1,5 @@
//
// $Id: LocationCodes.java,v 1.5 2004/08/27 02:12:33 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -89,7 +89,7 @@ public abstract class PlaceConfig extends SimpleStreamableObject
public abstract String getManagerClassName ();
// documentation inherited
protected void toString (StringBuffer buf)
protected void toString (StringBuilder buf)
{
buf.append("type=").append(StringUtil.shortClassName(this));
buf.append(", ");
@@ -1,5 +1,5 @@
//
// $Id: BodyProvider.java,v 1.8 2004/08/27 02:12:34 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: CrowdClientResolver.java,v 1.3 2004/08/27 02:12:34 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: OccupantOp.java,v 1.2 2004/08/27 02:12:34 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -644,11 +644,11 @@ public class PlaceManager
* that makes it easier for derived classes to add to the string
* representation.
*
* @see #toString(StringBuffer)
* @see #toString(StringBuilder)
*/
public String toString ()
{
StringBuffer buf = new StringBuffer();
StringBuilder buf = new StringBuilder();
buf.append("[");
toString(buf);
buf.append("]");
@@ -660,7 +660,7 @@ public class PlaceManager
* class. Override this (being sure to call super) and append your
* info to the buffer.
*/
protected void toString (StringBuffer buf)
protected void toString (StringBuilder buf)
{
buf.append("place=").append(_plobj);
buf.append(", config=").append(_config);
@@ -1,5 +1,5 @@
//
// $Id: PlaceManagerDelegate.java,v 1.4 2004/08/27 02:12:34 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: Log.java,v 1.3 2004/08/27 02:12:35 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: 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);
}
@@ -75,8 +75,8 @@ public class StatsDisplay extends Node
}
protected Text _text;
protected StringBuffer _stats = new StringBuffer();
protected StringBuffer _temp = new StringBuffer();
protected StringBuilder _stats = new StringBuilder();
protected StringBuilder _temp = new StringBuilder();
protected static final String DEFAULT_JME_FONT =
"rsrc/media/jme/defaultfont.tga";
@@ -229,7 +229,7 @@ public abstract class AbstractMedia
*/
public String toString ()
{
StringBuffer buf = new StringBuffer();
StringBuilder buf = new StringBuilder();
buf.append(StringUtil.shortClassName(this));
buf.append("[");
toString(buf);
@@ -308,7 +308,7 @@ public abstract class AbstractMedia
* to call <code>super.toString()</code>) to append the derived class
* specific information to the string buffer.
*/
protected void toString (StringBuffer buf)
protected void toString (StringBuilder buf)
{
buf.append("bounds=").append(StringUtil.toString(_bounds));
buf.append(", renderOrder=").append(_renderOrder);
@@ -1,5 +1,5 @@
//
// $Id: FrameParticipant.java,v 1.4 2004/08/27 02:12:37 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: Log.java,v 1.4 2004/08/27 02:12:37 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: MediaConstants.java,v 1.2 2004/08/27 02:12:37 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -192,7 +192,7 @@ public class MediaPanel extends JComponent
}
// documentation inherited from interface
public void getPerformanceStatus (StringBuffer buf)
public void getPerformanceStatus (StringBuilder buf)
{
}
@@ -310,7 +310,7 @@ public class MediaPanel extends JComponent
_perfRect = new Rectangle(5, 5, 0, 0);
}
StringBuffer perf = new StringBuffer();
StringBuilder perf = new StringBuilder();
perf.append("[FPS: ");
perf.append(_framemgr.getPerfTicks()).append("/");
perf.append(_framemgr.getPerfTries());
@@ -1,5 +1,5 @@
//
// $Id: MediaPrefs.java,v 1.2 2004/08/27 02:12:37 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: RegionManager.java,v 1.13 2004/08/27 02:12:37 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: SafeScrollPane.java,v 1.8 2004/08/27 02:12:37 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: ViewTracker.java,v 1.1 2004/11/11 23:52:43 mdb Exp $
// $Id$
package com.threerings.media;
@@ -1,5 +1,5 @@
//
// $Id: AnimationAdapter.java,v 1.3 2004/08/27 02:12:38 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: AnimationObserver.java,v 1.4 2004/08/27 02:12:38 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: AnimationSequencer.java,v 1.17 2004/11/11 23:53:06 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: AnimationWaiter.java,v 1.5 2004/08/27 02:12:38 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: BlankAnimation.java,v 1.2 2004/08/27 02:12:38 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: BlendAnimation.java,v 1.1 2004/09/18 22:58:39 mdb Exp $
// $Id$
package com.threerings.media.animation;
@@ -91,7 +91,7 @@ public class BobbleAnimation extends Animation
}
// documentation inherited
protected void toString (StringBuffer buf)
protected void toString (StringBuilder buf)
{
super.toString(buf);
@@ -271,7 +271,7 @@ public class ExplodeAnimation extends Animation
}
// documentation inherited
protected void toString (StringBuffer buf)
protected void toString (StringBuilder buf)
{
super.toString(buf);
@@ -204,7 +204,7 @@ public class FloatingTextAnimation extends Animation
}
// documentation inherited
protected void toString (StringBuffer buf)
protected void toString (StringBuilder buf)
{
super.toString(buf);
@@ -1,5 +1,5 @@
//
// $Id: GleamAnimation.java,v 1.1 2004/09/18 22:58:39 mdb Exp $
// $Id$
package com.threerings.media.animation;
@@ -1,5 +1,5 @@
//
// $Id: MultiFrameAnimation.java,v 1.7 2004/10/05 01:08:00 eric Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: SequencedAnimationObserver.java,v 1.2 2004/08/27 02:12:38 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -207,7 +207,7 @@ public class SparkAnimation extends Animation
}
// documentation inherited
protected void toString (StringBuffer buf)
protected void toString (StringBuilder buf)
{
super.toString(buf);
@@ -1,5 +1,5 @@
//
// $Id: SpriteAnimation.java,v 1.5 2004/08/27 02:12:38 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: BackedVolatileMirage.java,v 1.3 2004/08/27 02:12:38 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -72,7 +72,7 @@ public class BackedVolatileMirage extends VolatileMirage
}
// documentation inherited
protected void toString (StringBuffer buf)
protected void toString (StringBuilder buf)
{
super.toString(buf);
buf.append(", src=").append(_source);
@@ -1,5 +1,5 @@
//
// $Id: BlankMirage.java,v 1.3 2004/08/27 02:12:38 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: BufferedMirage.java,v 1.3 2004/08/27 02:12:38 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: CachedVolatileMirage.java,v 1.5 2004/08/27 02:12:38 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -87,7 +87,7 @@ public class CachedVolatileMirage extends VolatileMirage
}
// documentation inherited
protected void toString (StringBuffer buf)
protected void toString (StringBuilder buf)
{
super.toString(buf);
buf.append(", key=").append(_source);
@@ -1,5 +1,5 @@
//
// $Id: ColorUtil.java,v 1.5 2004/08/27 02:12:38 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: Colorization.java,v 1.9 2004/09/29 01:54:14 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: FastImageIO.java,v 1.3 2004/08/27 02:12:38 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: ImageDataProvider.java,v 1.3 2004/08/27 02:12:38 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: Mirage.java,v 1.3 2004/08/27 02:12:38 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: MirageIcon.java,v 1.2 2004/08/27 02:12:38 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -754,7 +754,7 @@ public class Quantize {
}
public String toString() {
StringBuffer buf = new StringBuffer();
StringBuilder buf = new StringBuilder();
if (parent == this) {
buf.append("root");
} else {
@@ -172,7 +172,7 @@ public abstract class VolatileMirage implements Mirage
*/
public String toString ()
{
StringBuffer buf = new StringBuffer("[");
StringBuilder buf = new StringBuilder("[");
toString(buf);
return buf.append("]").toString();
}
@@ -180,7 +180,7 @@ public abstract class VolatileMirage implements Mirage
/**
* Generates a string representation of this instance.
*/
protected void toString (StringBuffer buf)
protected void toString (StringBuilder buf)
{
buf.append("bounds=").append(StringUtil.toString(_bounds));
}
@@ -1,5 +1,5 @@
//
// $Id: DumpColorPository.java,v 1.2 2004/08/27 02:12:39 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: ColorPositoryParser.java,v 1.3 2004/08/27 02:12:39 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: MidiPlayer.java,v 1.6 2004/08/27 02:12:40 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: ModPlayer.java,v 1.8 2004/08/27 02:12:40 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: Mp3Player.java,v 1.6 2004/08/27 02:12:40 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -66,7 +66,7 @@ public class MusicManager
*/
public String summarizeState ()
{
StringBuffer buf = new StringBuffer();
StringBuilder buf = new StringBuilder();
buf.append("musicVol=").append(_musicVol);
return buf.append("]").toString();
}
@@ -1,5 +1,5 @@
//
// $Id: MusicPlayer.java,v 1.5 2004/08/27 02:12:40 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: OggPlayer.java,v 1.2 2004/08/27 02:12:40 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: SoundCodes.java,v 1.2 2004/08/27 02:12:40 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -187,7 +187,7 @@ public class SoundManager
*/
public String summarizeState ()
{
StringBuffer buf = new StringBuffer();
StringBuilder buf = new StringBuilder();
buf.append("clipVol=").append(_clipVol);
buf.append(", disabled=[");
int ii = 0;
@@ -1,5 +1,5 @@
//
// $Id: Sounds.java,v 1.6 2004/08/27 02:12:40 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -1,5 +1,5 @@
//
// $Id: ImageSprite.java,v 1.20 2004/08/27 02:12:41 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -304,7 +304,7 @@ public class ImageSprite extends Sprite
}
// documentation inherited
protected void toString (StringBuffer buf)
protected void toString (StringBuilder buf)
{
super.toString(buf);
buf.append(", fidx=").append(_frameIdx);
@@ -1,5 +1,5 @@
//
// $Id: PathAdapter.java,v 1.2 2004/08/27 02:12:41 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved

Some files were not shown because too many files have changed in this diff Show More