Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Gorovoy2011-07-08 15:07:12 -0400
committerMichael Gorovoy2011-07-08 17:21:02 -0400
commit8babf3ae17f4b7df730e87ab8f17d88a531c2290 (patch)
treedb383b2fbcdd168f0b0dbdd19ba5ca433a04f2a7 /jetty-deploy/src/main
parent4e8598eb00831dde238035045783ac0f398476ae (diff)
downloadorg.eclipse.jetty.project-8babf3ae17f4b7df730e87ab8f17d88a531c2290.tar.gz
org.eclipse.jetty.project-8babf3ae17f4b7df730e87ab8f17d88a531c2290.tar.xz
org.eclipse.jetty.project-8babf3ae17f4b7df730e87ab8f17d88a531c2290.zip
351576 Do not use deprecated method File.toURL()
Diffstat (limited to 'jetty-deploy/src/main')
-rw-r--r--jetty-deploy/src/main/java/org/eclipse/jetty/deploy/ContextDeployer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/ContextDeployer.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/ContextDeployer.java
index f979243d75..a4520fabfe 100644
--- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/ContextDeployer.java
+++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/ContextDeployer.java
@@ -219,7 +219,7 @@ public class ContextDeployer extends AbstractLifeCycle
@Deprecated
public void setConfigurationDir(File file) throws Exception
{
- setConfigurationDir(Resource.newResource(file.toURL()));
+ setConfigurationDir(Resource.newResource(Resource.toURL(file)));
}
/* ------------------------------------------------------------ */

Back to the top