changed to not use deprecated toURL()

This commit is contained in:
Andy Clement
2008-08-12 22:14:10 +00:00
parent f9285d54ab
commit 1707667489
2 changed files with 2 additions and 2 deletions

View File

@@ -86,7 +86,7 @@ public class StandardEvaluationContext implements EvaluationContext {
while (st.hasMoreTokens()) {
String element = st.nextToken();
try {
urls.add(new File(element).toURL());
urls.add(new File(element).toURI().toURL());
} catch (MalformedURLException e) {
throw new RuntimeException("Invalid element in classpath " + element);
}