jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1380535 - /jmeter/trunk/src/components/org/apache/jmeter/control/gui/ThroughputControllerGui.java
Date Tue, 04 Sep 2012 10:45:57 GMT
Author: pmouawad
Date: Tue Sep  4 10:45:57 2012
New Revision: 1380535

URL: http://svn.apache.org/viewvc?rev=1380535&view=rev
Log:
Remove useless brackets

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/control/gui/ThroughputControllerGui.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/control/gui/ThroughputControllerGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/control/gui/ThroughputControllerGui.java?rev=1380535&r1=1380534&r2=1380535&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/control/gui/ThroughputControllerGui.java
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/control/gui/ThroughputControllerGui.java
Tue Sep  4 10:45:57 2012
@@ -81,7 +81,7 @@ public class ThroughputControllerGui ext
                 ((ThroughputController) tc).setMaxThroughput(Integer.parseInt(throughput.getText().trim()));
             } catch (NumberFormatException e) {
                 // In case we are converting back from floating point, drop the decimal fraction
-                ((ThroughputController) tc).setMaxThroughput((throughput.getText().trim().split("\\.")[0]));
// $NON-NLS-1$
+                ((ThroughputController) tc).setMaxThroughput(throughput.getText().trim().split("\\.")[0]);
// $NON-NLS-1$
             }
         } else {
             try {



Mime
View raw message