Mark the unused Servlet Container callback methods as final to ensure subclasses do not rely upon them.

This commit is contained in:
Ben Alex 2007-12-03 07:33:18 +00:00
parent a53357778f
commit 239fd05d37
1 changed files with 2 additions and 2 deletions

View File

@ -28,13 +28,13 @@ public abstract class SpringSecurityFilter implements Filter, Ordered {
* @param filterConfig ignored * @param filterConfig ignored
* @throws ServletException ignored * @throws ServletException ignored
*/ */
public void init(FilterConfig filterConfig) throws ServletException { public final void init(FilterConfig filterConfig) throws ServletException {
} }
/** /**
* Does nothing. We use IoC container lifecycle services instead. * Does nothing. We use IoC container lifecycle services instead.
*/ */
public void destroy() { public final void destroy() {
} }
public final void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { public final void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {