jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1381371 - /jmeter/trunk/src/core/org/apache/jmeter/visualizers/SamplingStatCalculator.java
Date Wed, 05 Sep 2012 21:13:53 GMT
Author: pmouawad
Date: Wed Sep  5 21:13:53 2012
New Revision: 1381371

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

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/visualizers/SamplingStatCalculator.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/visualizers/SamplingStatCalculator.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/visualizers/SamplingStatCalculator.java?rev=1381371&r1=1381370&r2=1381371&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/visualizers/SamplingStatCalculator.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/visualizers/SamplingStatCalculator.java Wed Sep
 5 21:13:53 2012
@@ -206,10 +206,10 @@ public class SamplingStatCalculator {
         double rval = 0.0;
 
         if (calculator.getCount() == 0) {
-            return (rval);
+            return rval;
         }
         rval = (double) getCurrentSample().getErrorCount() / (double) calculator.getCount();
-        return (rval);
+        return rval;
     }
 
     /**
@@ -225,7 +225,7 @@ public class SamplingStatCalculator {
         mySB.append("Max: " + this.getMax() + "  ");
         mySB.append("Error Rate: " + this.getErrorPercentage() + "  ");
         mySB.append("Sample Rate: " + this.getRate());
-        return (mySB.toString());
+        return mySB.toString();
     }
 
     /**



Mime
View raw message