StringBuffer -> StringBuilder.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4191 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -386,7 +386,7 @@ public class ClientManager
|
||||
}
|
||||
|
||||
// documentation inherited from interface PresentsServer.Reporter
|
||||
public void appendReport (StringBuffer report, long now, long sinceLast)
|
||||
public void appendReport (StringBuilder report, long now, long sinceLast)
|
||||
{
|
||||
report.append("* presents.ClientManager:\n");
|
||||
report.append("- Sessions: ");
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: ClientResolutionListener.java,v 1.4 2004/08/27 02:20: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: InvocationDispatcher.java,v 1.2 2004/08/27 02:20: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: InvocationException.java,v 1.3 2004/08/27 02:20: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: InvocationProvider.java,v 1.9 2004/08/27 02:20: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: InvocationSender.java,v 1.4 2004/08/27 02:20:23 mdb Exp $
|
||||
// $Id$
|
||||
//
|
||||
// Narya library - tools for developing networked games
|
||||
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
||||
|
||||
@@ -835,7 +835,7 @@ public class PresentsClient
|
||||
*/
|
||||
public String toString ()
|
||||
{
|
||||
StringBuffer buf = new StringBuffer("[");
|
||||
StringBuilder buf = new StringBuilder("[");
|
||||
toString(buf);
|
||||
return buf.append("]").toString();
|
||||
}
|
||||
@@ -843,7 +843,7 @@ public class PresentsClient
|
||||
/**
|
||||
* Derived classes override this to augment stringification.
|
||||
*/
|
||||
protected void toString (StringBuffer buf)
|
||||
protected void toString (StringBuilder buf)
|
||||
{
|
||||
buf.append("username=").append(_username);
|
||||
buf.append(", conn=").append(_conn);
|
||||
|
||||
@@ -725,7 +725,7 @@ public class PresentsDObjectMgr
|
||||
}
|
||||
|
||||
// documentation inherited from interface PresentsServer.Reporter
|
||||
public void appendReport (StringBuffer report, long now, long sinceLast)
|
||||
public void appendReport (StringBuilder report, long now, long sinceLast)
|
||||
{
|
||||
report.append("* presents.PresentsDObjectMgr:\n");
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ public class PresentsInvoker extends Invoker
|
||||
}
|
||||
|
||||
// documentation inherited from interface
|
||||
public void appendReport (StringBuffer buffer, long now, long sinceLast)
|
||||
public void appendReport (StringBuilder buffer, long now, long sinceLast)
|
||||
{
|
||||
buffer.append("* presents.util.Invoker:\n");
|
||||
buffer.append("- Units executed: ").append(_unitsRun).append("\n");
|
||||
|
||||
@@ -63,7 +63,7 @@ public class PresentsServer
|
||||
* generated a report.
|
||||
*/
|
||||
public void appendReport (
|
||||
StringBuffer buffer, long now, long sinceLast);
|
||||
StringBuilder buffer, long now, long sinceLast);
|
||||
}
|
||||
|
||||
/** Implementers of this interface will be notified when the server is
|
||||
@@ -208,7 +208,7 @@ public class PresentsServer
|
||||
{
|
||||
long sinceLast = now - _lastReportStamp;
|
||||
long uptime = now - _serverStartTime;
|
||||
StringBuffer report = new StringBuffer("State of server report:\n");
|
||||
StringBuilder report = new StringBuilder("State of server report:\n");
|
||||
|
||||
report.append("- Uptime: ");
|
||||
report.append(StringUtil.intervalToString(uptime)).append(", ");
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: TimeBaseProvider.java,v 1.3 2004/08/27 02:20: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: AuthingConnection.java,v 1.10 2004/08/27 02:20:24 mdb Exp $
|
||||
// $Id$
|
||||
//
|
||||
// Narya library - tools for developing networked games
|
||||
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
||||
|
||||
@@ -202,7 +202,7 @@ public class ConnectionManager extends LoopingThread
|
||||
}
|
||||
|
||||
// documentation inherited from interface PresentsServer.Reporter
|
||||
public void appendReport (StringBuffer report, long now, long sinceLast)
|
||||
public void appendReport (StringBuilder report, long now, long sinceLast)
|
||||
{
|
||||
long bytesIn, bytesOut, msgsIn, msgsOut;
|
||||
synchronized (this) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: ConnectionObserver.java,v 1.7 2004/08/27 02:20:24 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: MessageHandler.java,v 1.3 2004/08/27 02:20:24 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: NetEventHandler.java,v 1.7 2004/08/27 02:20:24 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: RunningConnection.java,v 1.13 2004/08/27 02:20:24 mdb Exp $
|
||||
// $Id$
|
||||
//
|
||||
// Narya library - tools for developing networked games
|
||||
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
||||
|
||||
Reference in New Issue
Block a user