velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r651802 - /velocity/tools/trunk/src/main/java/org/apache/velocity/tools/config/FileFactoryConfiguration.java
Date Sat, 26 Apr 2008 06:32:30 GMT
Author: nbubna
Date: Fri Apr 25 23:32:26 2008
New Revision: 651802

URL: http://svn.apache.org/viewvc?rev=651802&view=rev
Log:
don't use deprecate File.toURL()

Modified:
    velocity/tools/trunk/src/main/java/org/apache/velocity/tools/config/FileFactoryConfiguration.java

Modified: velocity/tools/trunk/src/main/java/org/apache/velocity/tools/config/FileFactoryConfiguration.java
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/src/main/java/org/apache/velocity/tools/config/FileFactoryConfiguration.java?rev=651802&r1=651801&r2=651802&view=diff
==============================================================================
--- velocity/tools/trunk/src/main/java/org/apache/velocity/tools/config/FileFactoryConfiguration.java
(original)
+++ velocity/tools/trunk/src/main/java/org/apache/velocity/tools/config/FileFactoryConfiguration.java
Fri Apr 25 23:32:26 2008
@@ -114,7 +114,7 @@
         {
             try
             {
-                return file.toURL();
+                return file.toURI().toURL();
             }
             catch (MalformedURLException mue)
             {



Mime
View raw message