replaced string concatenation with chained appends

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@492383 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Grant Ingersoll 2007-01-04 02:17:58 +00:00
parent 957be9a455
commit 8cffe45c2a
1 changed files with 2 additions and 2 deletions

View File

@ -167,8 +167,8 @@ public class TestRunData {
Iterator it = labels.iterator();
while (it.hasNext()) {
String label = (String) it.next();
sb.append(id + "-" + label + " " + getTotals(label).toString(false) + " ");
sb.append(getMemUsage(label).toScaledString(1024 * 1024, "MB") + "\n");
sb.append(id).append("-").append(label).append(" ").append(getTotals(label).toString(false)).append(" ");
sb.append(getMemUsage(label).toScaledString(1024 * 1024, "MB")).append("\n");
}
return sb.toString();
}