jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1380461 - /jmeter/trunk/src/components/org/apache/jmeter/control/ThroughputController.java
Date Tue, 04 Sep 2012 06:47:25 GMT
Author: pmouawad
Date: Tue Sep  4 06:47:25 2012
New Revision: 1380461

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

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

Modified: jmeter/trunk/src/components/org/apache/jmeter/control/ThroughputController.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/control/ThroughputController.java?rev=1380461&r1=1380460&r2=1380461&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/control/ThroughputController.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/control/ThroughputController.java Tue Sep
 4 06:47:25 2012
@@ -136,7 +136,7 @@ public class ThroughputController extend
         JMeterProperty prop = getProperty(MAXTHROUGHPUT);
         int retVal = 1;
         if (prop instanceof IntegerProperty) {
-            retVal = (((IntegerProperty) prop).getIntValue());
+            retVal = ((IntegerProperty) prop).getIntValue();
         } else {
             try {
                 retVal = Integer.parseInt(prop.getStringValue());
@@ -163,7 +163,7 @@ public class ThroughputController extend
         JMeterProperty prop = getProperty(PERCENTTHROUGHPUT);
         float retVal = 100;
         if (prop instanceof FloatProperty) {
-            retVal = (((FloatProperty) prop).getFloatValue());
+            retVal = ((FloatProperty) prop).getFloatValue();
         } else {
             try {
                 retVal = Float.parseFloat(prop.getStringValue());



Mime
View raw message