maven-surefire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krosenv...@apache.org
Subject svn commit: r1052094 - /maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/Classpath.java
Date Wed, 22 Dec 2010 23:02:53 GMT
Author: krosenvold
Date: Wed Dec 22 23:02:53 2010
New Revision: 1052094

URL: http://svn.apache.org/viewvc?rev=1052094&view=rev
Log:
[SUREFIRE-644] User iterator instead of i. Cosmetic change

Modified:
    maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/Classpath.java

Modified: maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/Classpath.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/Classpath.java?rev=1052094&r1=1052093&r2=1052094&view=diff
==============================================================================
--- maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/Classpath.java
(original)
+++ maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/Classpath.java
Wed Dec 22 23:02:53 2010
@@ -106,9 +106,9 @@ public class Classpath
     public String getClassPathAsString()
     {
         StringBuffer sb = new StringBuffer();
-        for ( int i = 0; i < elements.size(); i++ )
+        for ( Iterator i = elements.iterator(); i.hasNext(); )
         {
-            sb.append( elements.get( i ) ).append( File.pathSeparatorChar );
+            sb.append( (String) i.next() ).append( File.pathSeparatorChar );
         }
         return sb.toString();
     }



Mime
View raw message