You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2015/12/12 13:31:38 UTC
svn commit: r1719673 - in
/jmeter/trunk/src/core/org/apache/jmeter/report/processor:
StatisticsSummaryConsumer.java StatisticsSummaryData.java
Author: fschumacher
Date: Sat Dec 12 12:31:38 2015
New Revision: 1719673
URL: http://svn.apache.org/viewvc?rev=1719673&view=rev
Log:
Methodnames should not start with upper case letter.
Modified:
jmeter/trunk/src/core/org/apache/jmeter/report/processor/StatisticsSummaryConsumer.java
jmeter/trunk/src/core/org/apache/jmeter/report/processor/StatisticsSummaryData.java
Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/StatisticsSummaryConsumer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/StatisticsSummaryConsumer.java?rev=1719673&r1=1719672&r2=1719673&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/StatisticsSummaryConsumer.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/StatisticsSummaryConsumer.java Sat Dec 12 12:31:38 2015
@@ -47,11 +47,11 @@ public class StatisticsSummaryConsumer e
}
void aggregateSample(Sample sample, StatisticsSummaryData data) {
- data.IncTotal();
- data.IncBytes(sample.getSentBytes());
+ data.incTotal();
+ data.incBytes(sample.getSentBytes());
if (!sample.getSuccess()) {
- data.IncErrors();
+ data.incErrors();
}
long elapsedTime = sample.getElapsedTime();
Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/StatisticsSummaryData.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/StatisticsSummaryData.java?rev=1719673&r1=1719672&r2=1719673&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/StatisticsSummaryData.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/StatisticsSummaryData.java Sat Dec 12 12:31:38 2015
@@ -220,15 +220,15 @@ public class StatisticsSummaryData {
return (total / (double) getElapsedTime()) * 1000.0;
}
- public void IncTotal() {
+ public void incTotal() {
total++;
}
- public void IncBytes(long value) {
+ public void incBytes(long value) {
bytes += value;
}
- public void IncErrors() {
+ public void incErrors() {
errors++;
}
}