maven-surefire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r563833 - /maven/surefire/branches/surefire-2.3.x/surefire-booter/src/main/java/org/apache/maven/surefire/booter/SurefireBooter.java
Date Wed, 08 Aug 2007 12:34:53 GMT
Author: brett
Date: Wed Aug  8 05:34:53 2007
New Revision: 563833

URL: http://svn.apache.org/viewvc?view=rev&rev=563833
Log:
remove JDK 1.4 specifics

Modified:
    maven/surefire/branches/surefire-2.3.x/surefire-booter/src/main/java/org/apache/maven/surefire/booter/SurefireBooter.java

Modified: maven/surefire/branches/surefire-2.3.x/surefire-booter/src/main/java/org/apache/maven/surefire/booter/SurefireBooter.java
URL: http://svn.apache.org/viewvc/maven/surefire/branches/surefire-2.3.x/surefire-booter/src/main/java/org/apache/maven/surefire/booter/SurefireBooter.java?view=diff&rev=563833&r1=563832&r2=563833
==============================================================================
--- maven/surefire/branches/surefire-2.3.x/surefire-booter/src/main/java/org/apache/maven/surefire/booter/SurefireBooter.java
(original)
+++ maven/surefire/branches/surefire-2.3.x/surefire-booter/src/main/java/org/apache/maven/surefire/booter/SurefireBooter.java
Wed Aug  8 05:34:53 2007
@@ -818,11 +818,11 @@
                 }
                 else if ( name.startsWith( "classPathUrl." ) )
                 {
-                    classPathUrls.put(Integer.valueOf(name.split("\\.")[1]), p.getProperty(
name ));
+                    classPathUrls.put(Integer.valueOf(name.substring(name.indexOf('.') +
1)), p.getProperty( name ));
                 }
                 else if ( name.startsWith( "surefireClassPathUrl." ) )
                 {
-                    surefireClassPathUrls.put(Integer.valueOf(name.split("\\.")[1]), p.getProperty(
name ));
+                    surefireClassPathUrls.put(Integer.valueOf(name.substring(name.indexOf('.')
+ 1)), p.getProperty( name ));
                 }
                 else if ( name.startsWith( "surefireBootClassPathUrl." ) )
                 {



Mime
View raw message