Remove @Override from interface define methods
This commit is contained in:
parent
b13b87a1e7
commit
fdb73fac23
|
@ -469,7 +469,6 @@ public abstract class AbstractAuthenticationProcessingFilter extends GenericFilt
|
|||
this.filterProcessesUrl = filterProcessesUrl;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean matches(HttpServletRequest request) {
|
||||
String uri = request.getRequestURI();
|
||||
int pathParamIndex = uri.indexOf(';');
|
||||
|
|
|
@ -80,7 +80,6 @@ public abstract class AbstractSecurityWebApplicationInitializer implements WebAp
|
|||
/* (non-Javadoc)
|
||||
* @see org.springframework.web.WebApplicationInitializer#onStartup(javax.servlet.ServletContext)
|
||||
*/
|
||||
@Override
|
||||
public final void onStartup(ServletContext servletContext)
|
||||
throws ServletException {
|
||||
if(enableHttpSessionEventPublisher()) {
|
||||
|
|
|
@ -55,7 +55,6 @@ public final class DelegatingRequestMatcherHeaderWriter implements HeaderWriter
|
|||
/* (non-Javadoc)
|
||||
* @see org.springframework.security.web.headers.HeaderWriter#writeHeaders(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
|
||||
*/
|
||||
@Override
|
||||
public void writeHeaders(HttpServletRequest request,
|
||||
HttpServletResponse response) {
|
||||
if(requestMatcher.matches(request)) {
|
||||
|
|
|
@ -121,7 +121,6 @@ public final class HstsHeaderWriter implements HeaderWriter {
|
|||
* org.springframework.security.web.headers.HeaderWriter#writeHeaders(javax
|
||||
* .servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
|
||||
*/
|
||||
@Override
|
||||
public void writeHeaders(HttpServletRequest request,
|
||||
HttpServletResponse response) {
|
||||
if (requestMatcher.matches(request)) {
|
||||
|
@ -205,7 +204,6 @@ public final class HstsHeaderWriter implements HeaderWriter {
|
|||
}
|
||||
|
||||
private static final class SecureRequestMatcher implements RequestMatcher {
|
||||
@Override
|
||||
public boolean matches(HttpServletRequest request) {
|
||||
return request.isSecure();
|
||||
}
|
||||
|
|
|
@ -46,7 +46,6 @@ public final class XXssProtectionHeaderWriter implements HeaderWriter {
|
|||
updateHeaderValue();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeHeaders(HttpServletRequest request,
|
||||
HttpServletResponse response) {
|
||||
response.setHeader(XSS_PROTECTION_HEADER, headerValue);
|
||||
|
|
|
@ -166,7 +166,6 @@ public final class MediaTypeRequestMatcher implements RequestMatcher {
|
|||
this.matchingMediaTypes = matchingMediaTypes;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean matches(HttpServletRequest request) {
|
||||
List<MediaType> httpRequestMediaTypes;
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue