Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Bartel2015-04-24 04:51:29 +0000
committerJan Bartel2015-04-24 04:51:29 +0000
commit6ebfd8832389a85d926b6fb60b86fe343204e657 (patch)
treea05e5c0b1de4e40f7cbd1d7c6b841f670e2256fc
parentff8eeae9821f54e7747a07f63aed3ae214c004ab (diff)
downloadorg.eclipse.jetty.project-6ebfd8832389a85d926b6fb60b86fe343204e657.tar.gz
org.eclipse.jetty.project-6ebfd8832389a85d926b6fb60b86fe343204e657.tar.xz
org.eclipse.jetty.project-6ebfd8832389a85d926b6fb60b86fe343204e657.zip
465360 URLResource.addPath should use _useCaches setting to create new Resource
-rw-r--r--jetty-util/src/main/java/org/eclipse/jetty/util/resource/URLResource.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/resource/URLResource.java b/jetty-util/src/main/java/org/eclipse/jetty/util/resource/URLResource.java
index a2a438c987..2d5fd872ee 100644
--- a/jetty-util/src/main/java/org/eclipse/jetty/util/resource/URLResource.java
+++ b/jetty-util/src/main/java/org/eclipse/jetty/util/resource/URLResource.java
@@ -301,7 +301,7 @@ public class URLResource extends Resource
path = URIUtil.canonicalPath(path);
- return newResource(URIUtil.addPaths(_url.toExternalForm(),path));
+ return newResource(URIUtil.addPaths(_url.toExternalForm(),path), _useCaches);
}
/* ------------------------------------------------------------ */

Back to the top