jmeter-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1815982&view=rev
Log:
Use method reference.

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=1815982&r1=1815981&r2=1815982&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:23:30 2017
@@ -424,7 +424,7 @@ public class InfluxdbBackendListenerClie
     @Override
     public Arguments getDefaultParameters() {
         Arguments arguments = new Arguments();
-        defaultArgs.forEach((k,v) -> arguments.addArgument(k, v));
+        defaultArgs.forEach(arguments::addArgument);
         return arguments;
     }
 }



Mime
View raw message