jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1719677 - /jmeter/trunk/src/core/org/apache/jmeter/report/processor/StatisticsSummaryConsumer.java
Date Sat, 12 Dec 2015 12:38:52 GMT
Author: fschumacher
Date: Sat Dec 12 12:38:52 2015
New Revision: 1719677

URL: http://svn.apache.org/viewvc?rev=1719677&view=rev
Log:
Change names of constants to upper case only.

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/StatisticsSummaryConsumer.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=1719677&r1=1719676&r2=1719677&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:38:52 2015
@@ -32,11 +32,11 @@ import org.apache.jmeter.util.JMeterUtil
 public class StatisticsSummaryConsumer extends
         AbstractSummaryConsumer<StatisticsSummaryData> {
 
-    private static final int percentileIndex1 = JMeterUtils.getPropDefault(
+    private static final int PERCENTILE_INDEX1 = JMeterUtils.getPropDefault(
         "aggregate_rpt_pct1", 90);
-    private static final int percentileIndex2 = JMeterUtils.getPropDefault(
+    private static final int PERCENTILE_INDEX2 = JMeterUtils.getPropDefault(
         "aggregate_rpt_pct2", 95);
-    private static final int percentileIndex3 = JMeterUtils.getPropDefault(
+    private static final int PERCENTILE_INDEX3 = JMeterUtils.getPropDefault(
         "aggregate_rpt_pct3", 99);
 
     /**
@@ -80,15 +80,15 @@ public class StatisticsSummaryConsumer e
         SummaryInfo overallInfo = getOverallInfo();
         StatisticsSummaryData overallData = overallInfo.getData();
         if (overallData == null) {
-            overallData = new StatisticsSummaryData(percentileIndex1,
-                            percentileIndex2, percentileIndex3);
+            overallData = new StatisticsSummaryData(PERCENTILE_INDEX1,
+                            PERCENTILE_INDEX2, PERCENTILE_INDEX3);
             overallInfo.setData(overallData);
             }
 
         StatisticsSummaryData data = info.getData();
         if (data == null) {
-            data = new StatisticsSummaryData(percentileIndex1,
-                        percentileIndex2, percentileIndex3);
+            data = new StatisticsSummaryData(PERCENTILE_INDEX1,
+                        PERCENTILE_INDEX2, PERCENTILE_INDEX3);
             info.setData(data);
         }
 
@@ -157,15 +157,15 @@ public class StatisticsSummaryConsumer e
         titles.addResult(new ValueResultData(
             String.format(
                 JMeterUtils.getResString("reportgenerator_summary_statistics_percentile_fmt"),
-                    percentileIndex1)));
+                    PERCENTILE_INDEX1)));
         titles.addResult(new ValueResultData(
             String.format(
                 JMeterUtils.getResString("reportgenerator_summary_statistics_percentile_fmt"),
-                    percentileIndex2)));
+                    PERCENTILE_INDEX2)));
         titles.addResult(new ValueResultData(
             String.format(
                 JMeterUtils.getResString("reportgenerator_summary_statistics_percentile_fmt"),
-                    percentileIndex3)));
+                    PERCENTILE_INDEX3)));
         titles.addResult(new ValueResultData(JMeterUtils.getResString("reportgenerator_summary_statistics_throughput")));
         titles.addResult(new ValueResultData(JMeterUtils.getResString("reportgenerator_summary_statistics_kbytes")));
         titles.addResult(new ValueResultData(JMeterUtils.getResString("reportgenerator_summary_statistics_min")));



Mime
View raw message