diff options
-rw-r--r-- | bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/context/ProxyContext.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/context/ProxyContext.java b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/context/ProxyContext.java index c668225a6..4c66f40ae 100644 --- a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/context/ProxyContext.java +++ b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/context/ProxyContext.java @@ -67,7 +67,7 @@ public class ProxyContext { ContextAttributes contextAttributes = attributesMap.get(controller); if (contextAttributes == null) { - contextAttributes = new ContextAttributes(controller); + contextAttributes = new ContextAttributes(controller, proxyContextTempDir); attributesMap.put(controller, contextAttributes); } @@ -122,13 +122,13 @@ public class ProxyContext { return directory.delete(); } - public class ContextAttributes + public static class ContextAttributes extends Dictionary<String, Object> implements Serializable { private static final long serialVersionUID = 1916670423277243587L; private final AtomicInteger referenceCount = new AtomicInteger(); - public ContextAttributes(ContextController controller) { + public ContextAttributes(ContextController controller, File proxyContextTempDir) { if (proxyContextTempDir != null) { File contextTempDir = new File( proxyContextTempDir, |