jmeter-commits mailing list archives

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

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

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

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/BackendListenerGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/BackendListenerGui.java?rev=1815985&r1=1815984&r2=1815985&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/BackendListenerGui.java
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/BackendListenerGui.java
Tue Nov 21 20:31:45 2017
@@ -208,7 +208,7 @@ public class BackendListenerGui extends
                         newArgs.addArgument(name, value);
                     }
                 }
-                userArgMap.forEach((k,v) -> newArgs.addArgument(k, v));
+                userArgMap.forEach(newArgs::addArgument);
 
                 className = newClassName;
                 argsPanel.configure(newArgs);



Mime
View raw message