Skip to content

Commit

Permalink
Perform clean code of bundles/org.eclipse.equinox.jsp.jasper
Browse files Browse the repository at this point in the history
  • Loading branch information
eclipse-equinox-bot authored and laeubi committed Jan 29, 2025
1 parent 5499d0f commit 7da7129
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/
public class BundleProxyClassLoader extends ClassLoader {
private final Bundle activatorBundle = Activator.getBundle(Activator.class);
private Bundle bundle;
private final Bundle bundle;
private ClassLoader parent;

public BundleProxyClassLoader(Bundle bundle) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
public class JspServlet extends HttpServlet {
private static class BundlePermissionCollection extends PermissionCollection {
private static final long serialVersionUID = -6365478608043900677L;
private Bundle bundle;
private final Bundle bundle;

public BundlePermissionCollection(Bundle bundle) {
this.bundle = bundle;
Expand All @@ -108,9 +108,9 @@ public Enumeration<Permission> elements() {
}

private static final long serialVersionUID = -4110476909131707652L;
private Servlet jspServlet = new org.apache.jasper.servlet.JspServlet();
private final Servlet jspServlet = new org.apache.jasper.servlet.JspServlet();
Bundle bundle;
private URLClassLoader jspLoader;
private final URLClassLoader jspLoader;
String bundleResourcePath;
String alias;

Expand Down Expand Up @@ -194,8 +194,8 @@ public String getServletInfo() {
}

private class ServletConfigAdaptor implements ServletConfig {
private ServletConfig config;
private ServletContext context;
private final ServletConfig config;
private final ServletContext context;

public ServletConfigAdaptor(ServletConfig config) {
this.config = config;
Expand Down Expand Up @@ -251,7 +251,7 @@ private static Map<Method, Method> createContextToHandlerMethods() {
}

class ServletContextAdaptor {
private ServletContext delegate;
private final ServletContext delegate;

public ServletContextAdaptor(ServletContext delegate) {
this.delegate = delegate;
Expand Down

0 comments on commit 7da7129

Please sign in to comment.