jmeter-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1793316&view=rev
Log:
Restore loop as per Felix note

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=1793316&r1=1793315&r2=1793316&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:34:21
2017
@@ -318,8 +318,7 @@ public final class ClassFinder {
                 continue;
             }
             boolean found = false;
-            for (int i = 0; i < strPathsOrJars.size(); i++) {
-                String currentStrPathOrJar = strPathsOrJars.get(i); 
+            for (String currentStrPathOrJar : strPathsOrJars) {
                 if (currentStrPathOrJar != null && classpathElement.endsWith(currentStrPathOrJar))
{
                     found = true;
                     log.debug("Adding {}", classpathElement);



Mime
View raw message