jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1380539 - /jmeter/trunk/src/core/org/apache/jmeter/control/gui/RunTimeGui.java
Date Tue, 04 Sep 2012 10:47:15 GMT
Author: pmouawad
Date: Tue Sep  4 10:47:14 2012
New Revision: 1380539

URL: http://svn.apache.org/viewvc?rev=1380539&view=rev
Log:
Avoid empty string concat

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/control/gui/RunTimeGui.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/control/gui/RunTimeGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/control/gui/RunTimeGui.java?rev=1380539&r1=1380538&r2=1380539&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/control/gui/RunTimeGui.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/control/gui/RunTimeGui.java Tue Sep  4 10:47:14
2012
@@ -219,6 +219,6 @@ public class RunTimeGui extends Abstract
      */
     private void setState(long secsCount) {
         seconds.setEnabled(true);
-        seconds.setText("" + secsCount); // $NON-NLS-1$
+        seconds.setText(Long.toString(secsCount)); // $NON-NLS-1$
     }
 }



Mime
View raw message