You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2012/09/05 23:13:53 UTC
svn commit: r1381371 -
/jmeter/trunk/src/core/org/apache/jmeter/visualizers/SamplingStatCalculator.java
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();
}
/**