mirror of https://github.com/apache/lucene.git
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:
parent
957be9a455
commit
8cffe45c2a
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue