jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1815978 - /jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java
Date Tue, 21 Nov 2017 20:06:39 GMT
Author: fschumacher
Date: Tue Nov 21 20:06:39 2017
New Revision: 1815978

URL: http://svn.apache.org/viewvc?rev=1815978&view=rev
Log:
Use proper camelCase for field names.

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java?rev=1815978&r1=1815977&r2=1815978&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java
Tue Nov 21 20:06:39 2017
@@ -93,17 +93,17 @@ public class InfluxdbBackendListenerClie
     private static final int MAX_POOL_SIZE = 1;
     private static final String SEPARATOR = ";"; //$NON-NLS-1$
     private static final Object LOCK = new Object();
-    private static Map<String, String> defaultARGS = new LinkedHashMap<>();
+    private static Map<String, String> defaultArgs = new LinkedHashMap<>();
     static {
-        defaultARGS.put("influxdbMetricsSender", HttpMetricsSender.class.getName());
-        defaultARGS.put("influxdbUrl", "");
-        defaultARGS.put("application", "application name");
-        defaultARGS.put("measurement", DEFAULT_MEASUREMENT);
-        defaultARGS.put("summaryOnly", "false");
-        defaultARGS.put("samplersRegex", ".*");
-        defaultARGS.put("percentiles", "99;95;90");
-        defaultARGS.put("testTitle", "Test name");
-        defaultARGS.put("eventTags", "");
+        defaultArgs.put("influxdbMetricsSender", HttpMetricsSender.class.getName());
+        defaultArgs.put("influxdbUrl", "");
+        defaultArgs.put("application", "application name");
+        defaultArgs.put("measurement", DEFAULT_MEASUREMENT);
+        defaultArgs.put("summaryOnly", "false");
+        defaultArgs.put("samplersRegex", ".*");
+        defaultArgs.put("percentiles", "99;95;90");
+        defaultArgs.put("testTitle", "Test name");
+        defaultArgs.put("eventTags", "");
     }
 
     private boolean summaryOnly;
@@ -337,7 +337,7 @@ public class InfluxdbBackendListenerClie
         // Check if more row which started with 'TAG_' are filled ( corresponding to user
tag )
         userTag = "";
         context.getParameterNamesIterator().forEachRemaining(name -> {
-            if (StringUtils.isNotBlank(name) && !defaultARGS.containsKey(name.trim())
+            if (StringUtils.isNotBlank(name) && !defaultArgs.containsKey(name.trim())
                     && name.startsWith("TAG_")
                     && StringUtils.isNotBlank(context.getParameter(name))) {
                 userTag += "," + AbstractInfluxdbMetricsSender.tagToStringValue(name.trim().substring(4))
+ "="
@@ -417,7 +417,7 @@ public class InfluxdbBackendListenerClie
     @Override
     public Arguments getDefaultParameters() {
         Arguments arguments = new Arguments();
-        defaultARGS.forEach((k,v) -> arguments.addArgument(k, v));
+        defaultArgs.forEach((k,v) -> arguments.addArgument(k, v));
         return arguments;
     }
 }



Mime
View raw message