diff options
author | Simon Kaegi | 2007-02-11 04:04:55 +0000 |
---|---|---|
committer | Simon Kaegi | 2007-02-11 04:04:55 +0000 |
commit | 3e819321e5d59f43fd43a7ed130d66255b181c31 (patch) | |
tree | 13369d7774740af81e28fd514081a891abff46a9 | |
parent | 08d67b7c158975ef33677d74c07e29289336fae9 (diff) | |
download | rt.equinox.bundles-3e819321e5d59f43fd43a7ed130d66255b181c31.tar.gz rt.equinox.bundles-3e819321e5d59f43fd43a7ed130d66255b181c31.tar.xz rt.equinox.bundles-3e819321e5d59f43fd43a7ed130d66255b181c31.zip |
Fixing two warnings where default visibility is more efficient vs. synthetic accessv20070212
4 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.equinox.http.registry/src/org/eclipse/equinox/http/registry/internal/HttpServiceTracker.java b/bundles/org.eclipse.equinox.http.registry/src/org/eclipse/equinox/http/registry/internal/HttpServiceTracker.java index cbafa8ed3..61234d974 100644 --- a/bundles/org.eclipse.equinox.http.registry/src/org/eclipse/equinox/http/registry/internal/HttpServiceTracker.java +++ b/bundles/org.eclipse.equinox.http.registry/src/org/eclipse/equinox/http/registry/internal/HttpServiceTracker.java @@ -27,7 +27,7 @@ public class HttpServiceTracker extends ServiceTracker { private PackageAdmin packageAdmin; private IExtensionRegistry registry; - private Map httpContextManagers = new HashMap(); + Map httpContextManagers = new HashMap(); private Map servletManagers = new HashMap(); private Map resourceManagers = new HashMap(); private ServiceRegistration registration; diff --git a/bundles/org.eclipse.equinox.http.registry/src/org/eclipse/equinox/http/registry/internal/ServletManager.java b/bundles/org.eclipse.equinox.http.registry/src/org/eclipse/equinox/http/registry/internal/ServletManager.java index 85714556f..5c160b373 100644 --- a/bundles/org.eclipse.equinox.http.registry/src/org/eclipse/equinox/http/registry/internal/ServletManager.java +++ b/bundles/org.eclipse.equinox.http.registry/src/org/eclipse/equinox/http/registry/internal/ServletManager.java @@ -137,7 +137,7 @@ public class ServletManager implements ExtensionPointTracker.Listener { destroyDelegate(); } - private synchronized void initializeDelegate() throws ServletException { + synchronized void initializeDelegate() throws ServletException { if (delegate == null) { try { Servlet newDelegate = (Servlet) element.createExecutableExtension(CLASS); diff --git a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/ProxyContext.java b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/ProxyContext.java index 061fd6a88..c25e03e04 100644 --- a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/ProxyContext.java +++ b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/ProxyContext.java @@ -19,7 +19,7 @@ public class ProxyContext { private String servletPath; private HashMap attributesMap = new HashMap(); - private File proxyContextTempDir; + File proxyContextTempDir; public ProxyContext(ServletContext servletContext) { File tempDir = (File) servletContext.getAttribute(JAVAX_SERVLET_CONTEXT_TEMPDIR); diff --git a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/ResourceRegistration.java b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/ResourceRegistration.java index 95c696808..fbaed9b7e 100644 --- a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/ResourceRegistration.java +++ b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/ResourceRegistration.java @@ -28,7 +28,7 @@ public class ResourceRegistration extends Registration { private String internalName; HttpContext httpContext; - private ServletContext servletContext; + ServletContext servletContext; private AccessControlContext acc; public ResourceRegistration(String internalName, HttpContext context, ServletContext servletContext, AccessControlContext acc) { |