jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1793318 - /jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java
Date Mon, 01 May 2017 12:36:59 GMT
Author: pmouawad
Date: Mon May  1 12:36:59 2017
New Revision: 1793318

URL: http://svn.apache.org/viewvc?rev=1793318&view=rev
Log:
Replace lambda by method reference

Modified:
    jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java

Modified: jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java?rev=1793318&r1=1793317&r2=1793318&view=diff
==============================================================================
--- jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java (original)
+++ jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java Mon May  1 12:36:59
2017
@@ -266,7 +266,7 @@ public final class ClassFinder {
     
         // Find all jars in the search path
         List<String> strPathsOrJars = Arrays.asList(addJarsInPath(searchPathsOrJars));
-        strPathsOrJars.forEach(p -> fixPathEntry(p));
+        strPathsOrJars.forEach(ClassFinder::fixPathEntry);
     
         // Now eliminate any classpath entries that do not "match" the search
         List<String> listPaths = getClasspathMatches(strPathsOrJars);



Mime
View raw message