Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Tambara2016-06-24 22:15:20 +0000
committerMatthew Tambara2016-06-24 22:15:20 +0000
commitd877b97ca4ab7d475dff6aca500db3c449d8fbfe (patch)
treebcb405611b6bf4b61a21b28ee4b438551a957f4f
parentc06bb0116aaea3d0b548e2d857abed2e1dbba63a (diff)
downloadrt.equinox.bundles-d877b97ca4ab7d475dff6aca500db3c449d8fbfe.tar.gz
rt.equinox.bundles-d877b97ca4ab7d475dff6aca500db3c449d8fbfe.tar.xz
rt.equinox.bundles-d877b97ca4ab7d475dff6aca500db3c449d8fbfe.zip
LPS-66813 Make threadlocal static
Signed-off-by: Matthew Tambara <matthew.tambara@liferay.com>
-rw-r--r--bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/ServletContextAdaptor.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/ServletContextAdaptor.java b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/ServletContextAdaptor.java
index 2867e262e..1a4471d28 100644
--- a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/ServletContextAdaptor.java
+++ b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/ServletContextAdaptor.java
@@ -421,6 +421,8 @@ public class ServletContextAdaptor {
}
}
+ private final static ThreadLocal<ServletContext> servletContextTL = new ThreadLocal<ServletContext>();
+
private final AccessControlContext acc;
private final Bundle bundle;
private final ClassLoader classLoader;
@@ -429,7 +431,6 @@ public class ServletContextAdaptor {
private final ProxyContext proxyContext;
private final ServletContext servletContext;
final ServletContextHelper servletContextHelper;
- private final ThreadLocal<ServletContext> servletContextTL = new ThreadLocal<ServletContext>();
private final String string;
}

Back to the top