From commits-return-4449-apmail-jmeter-commits-archive=jmeter.apache.org@jmeter.apache.org Sat Dec 12 12:31:40 2015 Return-Path: X-Original-To: apmail-jmeter-commits-archive@minotaur.apache.org Delivered-To: apmail-jmeter-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D448C18F0F for ; Sat, 12 Dec 2015 12:31:40 +0000 (UTC) Received: (qmail 86558 invoked by uid 500); 12 Dec 2015 12:31:40 -0000 Delivered-To: apmail-jmeter-commits-archive@jmeter.apache.org Received: (qmail 86526 invoked by uid 500); 12 Dec 2015 12:31:40 -0000 Mailing-List: contact commits-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jmeter.apache.org Delivered-To: mailing list commits@jmeter.apache.org Received: (qmail 86517 invoked by uid 99); 12 Dec 2015 12:31:40 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Dec 2015 12:31:40 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 2A3471A5FD8 for ; Sat, 12 Dec 2015 12:31:40 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.246 X-Spam-Level: * X-Spam-Status: No, score=1.246 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.554] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id dv6cengWvwyW for ; Sat, 12 Dec 2015 12:31:39 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTP id 625A9429DD for ; Sat, 12 Dec 2015 12:31:39 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id DF4C3E0177 for ; Sat, 12 Dec 2015 12:31:38 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id DFEA83A0176 for ; Sat, 12 Dec 2015 12:31:38 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1719673 - in /jmeter/trunk/src/core/org/apache/jmeter/report/processor: StatisticsSummaryConsumer.java StatisticsSummaryData.java Date: Sat, 12 Dec 2015 12:31:38 -0000 To: commits@jmeter.apache.org From: fschumacher@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20151212123138.DFEA83A0176@svn01-us-west.apache.org> 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++; } }