StringBuffer -> StringBuilder.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: Log.java,v 1.1 2004/07/02 11:01:21 mdb Exp $
|
// $Id$
|
||||||
|
|
||||||
package com.threerings.getdown;
|
package com.threerings.getdown;
|
||||||
|
|
||||||
|
|||||||
@@ -442,7 +442,7 @@ public class Application
|
|||||||
throws IOException
|
throws IOException
|
||||||
{
|
{
|
||||||
// create our classpath
|
// create our classpath
|
||||||
StringBuffer cpbuf = new StringBuffer();
|
StringBuilder cpbuf = new StringBuilder();
|
||||||
for (Iterator<Resource> iter = _codes.iterator(); iter.hasNext(); ) {
|
for (Iterator<Resource> iter = _codes.iterator(); iter.hasNext(); ) {
|
||||||
if (cpbuf.length() > 0) {
|
if (cpbuf.length() > 0) {
|
||||||
cpbuf.append(File.pathSeparator);
|
cpbuf.append(File.pathSeparator);
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ public class Digest
|
|||||||
throws IOException
|
throws IOException
|
||||||
{
|
{
|
||||||
// parse and validate our digest file contents
|
// parse and validate our digest file contents
|
||||||
StringBuffer data = new StringBuffer();
|
StringBuilder data = new StringBuilder();
|
||||||
File dfile = new File(appdir, DIGEST_FILE);
|
File dfile = new File(appdir, DIGEST_FILE);
|
||||||
List pairs = ConfigUtil.parsePairs(dfile, false);
|
List pairs = ConfigUtil.parsePairs(dfile, false);
|
||||||
for (Iterator iter = pairs.iterator(); iter.hasNext(); ) {
|
for (Iterator iter = pairs.iterator(); iter.hasNext(); ) {
|
||||||
@@ -106,7 +106,7 @@ public class Digest
|
|||||||
throws IOException
|
throws IOException
|
||||||
{
|
{
|
||||||
MessageDigest md = getMessageDigest();
|
MessageDigest md = getMessageDigest();
|
||||||
StringBuffer data = new StringBuffer();
|
StringBuilder data = new StringBuilder();
|
||||||
PrintWriter pout = new PrintWriter(
|
PrintWriter pout = new PrintWriter(
|
||||||
new OutputStreamWriter(new FileOutputStream(output), "UTF-8"));
|
new OutputStreamWriter(new FileOutputStream(output), "UTF-8"));
|
||||||
|
|
||||||
@@ -147,7 +147,7 @@ public class Digest
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Used by {@link #createDigest} and {@link Digest}. */
|
/** Used by {@link #createDigest} and {@link Digest}. */
|
||||||
protected static void note (StringBuffer data, String path, String digest)
|
protected static void note (StringBuilder data, String path, String digest)
|
||||||
{
|
{
|
||||||
data.append(path).append(" = ").append(digest).append("\n");
|
data.append(path).append(" = ").append(digest).append("\n");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: ProxyPanel.java,v 1.1 2004/07/30 21:45:28 mdb Exp $
|
// $Id$
|
||||||
|
|
||||||
package com.threerings.getdown.launcher;
|
package com.threerings.getdown.launcher;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: MetaProgressObserver.java,v 1.1 2004/07/14 13:44:49 mdb Exp $
|
// $Id$
|
||||||
|
|
||||||
package com.threerings.getdown.util;
|
package com.threerings.getdown.util;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: ProgressObserver.java,v 1.1 2004/07/14 13:44:49 mdb Exp $
|
// $Id$
|
||||||
|
|
||||||
package com.threerings.getdown.util;
|
package com.threerings.getdown.util;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user