Author: manik.surtani(a)jboss.com
Date: 2009-02-05 12:34:33 -0500 (Thu, 05 Feb 2009)
New Revision: 7655
Modified:
core/branches/flat/src/main/java/org/horizon/util/FileLookup.java
Log:
Fixed deprecation
Modified: core/branches/flat/src/main/java/org/horizon/util/FileLookup.java
===================================================================
--- core/branches/flat/src/main/java/org/horizon/util/FileLookup.java 2009-02-05 13:00:20
UTC (rev 7654)
+++ core/branches/flat/src/main/java/org/horizon/util/FileLookup.java 2009-02-05 17:34:33
UTC (rev 7655)
@@ -83,7 +83,7 @@
if (u == null) {
File f = new File(filename);
if (f.exists()) try {
- u = f.toURL();
+ u = f.toURI().toURL();
}
catch (MalformedURLException e) {
// what do we do here?
Show replies by date