jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1834530 - /jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java
Date Wed, 27 Jun 2018 19:09:24 GMT
Author: fschumacher
Date: Wed Jun 27 19:09:24 2018
New Revision: 1834530

URL: http://svn.apache.org/viewvc?rev=1834530&view=rev
Log:
No need for an array here, as MessageFormat#format uses var args.

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java?rev=1834530&r1=1834529&r2=1834530&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java Wed
Jun 27 19:09:24 2018
@@ -282,14 +282,14 @@ public class StatGraphVisualizer extends
                         MessageFormat.format(
                                 JMeterUtils.getResString(
                                         "aggregate_report_xx_pct1_line"),
-                                new Object[] { PCT1_LABEL }),
+                                PCT1_LABEL),
                         false, green));
         eltList.add(
                 new BarGraph(
                         MessageFormat.format(
                                 JMeterUtils.getResString(
                                         "aggregate_report_xx_pct2_line"),
-                                new Object[] { PCT2_LABEL }),
+                                PCT2_LABEL),
                         false, yellow));
         
         eltList.add(
@@ -297,7 +297,7 @@ public class StatGraphVisualizer extends
                         MessageFormat.format(
                                 JMeterUtils.getResString(
                                         "aggregate_report_xx_pct3_line"),
-                                new Object[] { PCT3_LABEL }),
+                                PCT3_LABEL),
                         false, purple));
         eltList.add(
                 new BarGraph(JMeterUtils.getResString("aggregate_report_min"),



Mime
View raw message