You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2017/05/01 12:34:22 UTC

svn commit: r1793316 - /jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java

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);