ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject svn commit: r388050 - /ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java
Date Thu, 23 Mar 2006 05:38:20 GMT
Author: kevj
Date: Wed Mar 22 21:38:18 2006
New Revision: 388050

URL: http://svn.apache.org/viewcvs?rev=388050&view=rev
Log:
revert to code that compiles pre 1.4

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java?rev=388050&r1=388049&r2=388050&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java Wed Mar 22 21:38:18 2006
@@ -396,7 +396,7 @@
             String path = location.getPath();
             for (int i = 0; i < extensions.length; ++i) {
                 if (path.toLowerCase().endsWith(extensions[i])) {
-                    urls[0] = location.toURI().toURL();
+                    urls[0] = location.toURL();
                     break;
                 }
             }
@@ -415,9 +415,8 @@
             });
         urls = new URL[matches.length];
         for (int i = 0; i < matches.length; ++i) {
-            urls[i] = matches[i].toURI().toURL();
+            urls[i] = matches[i].toURL();
         }
         return urls;
     }
 }
-



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message