lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gsing...@apache.org
Subject svn commit: r492383 - /lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/stats/TestRunData.java
Date Thu, 04 Jan 2007 02:17:58 GMT
Author: gsingers
Date: Wed Jan  3 18:17:58 2007
New Revision: 492383

URL: http://svn.apache.org/viewvc?view=rev&rev=492383
Log:
replaced string concatenation with chained appends

Modified:
    lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/stats/TestRunData.java

Modified: lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/stats/TestRunData.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/stats/TestRunData.java?view=diff&rev=492383&r1=492382&r2=492383
==============================================================================
--- lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/stats/TestRunData.java
(original)
+++ lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/stats/TestRunData.java
Wed Jan  3 18:17:58 2007
@@ -167,8 +167,8 @@
     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();
   }



Mime
View raw message