remove redundant modifiers found by checkstyle
This commit is contained in:
@@ -204,7 +204,7 @@ public class ChannelDecisionManagerImplTests {
|
||||
private String configAttribute;
|
||||
private boolean failIfCalled;
|
||||
|
||||
public MockChannelProcessor(String configAttribute, boolean failIfCalled) {
|
||||
MockChannelProcessor(String configAttribute, boolean failIfCalled) {
|
||||
this.configAttribute = configAttribute;
|
||||
this.failIfCalled = failIfCalled;
|
||||
}
|
||||
|
||||
@@ -169,7 +169,7 @@ public class ChannelProcessingFilterTests {
|
||||
private String supportAttribute;
|
||||
private boolean commitAResponse;
|
||||
|
||||
public MockChannelDecisionManager(boolean commitAResponse, String supportAttribute) {
|
||||
MockChannelDecisionManager(boolean commitAResponse, String supportAttribute) {
|
||||
this.commitAResponse = commitAResponse;
|
||||
this.supportAttribute = supportAttribute;
|
||||
}
|
||||
@@ -197,7 +197,7 @@ public class ChannelProcessingFilterTests {
|
||||
private String servletPath;
|
||||
private boolean provideIterator;
|
||||
|
||||
public MockFilterInvocationDefinitionMap(String servletPath,
|
||||
MockFilterInvocationDefinitionMap(String servletPath,
|
||||
boolean provideIterator, String... toReturn) {
|
||||
this.servletPath = servletPath;
|
||||
this.toReturn = SecurityConfig.createList(toReturn);
|
||||
|
||||
@@ -101,7 +101,7 @@ public class WebExpressionVoterTests {
|
||||
|
||||
private static class FilterInvocationChild extends FilterInvocation {
|
||||
|
||||
public FilterInvocationChild(ServletRequest request, ServletResponse response,
|
||||
FilterInvocationChild(ServletRequest request, ServletResponse response,
|
||||
FilterChain chain) {
|
||||
super(request, response, chain);
|
||||
}
|
||||
|
||||
@@ -437,7 +437,7 @@ public class AbstractAuthenticationProcessingFilterTests {
|
||||
|
||||
private boolean grantAccess;
|
||||
|
||||
public MockAuthenticationFilter(boolean grantAccess) {
|
||||
MockAuthenticationFilter(boolean grantAccess) {
|
||||
this();
|
||||
setRememberMeServices(new NullRememberMeServices());
|
||||
this.grantAccess = grantAccess;
|
||||
@@ -465,7 +465,7 @@ public class AbstractAuthenticationProcessingFilterTests {
|
||||
|
||||
private boolean expectToProceed;
|
||||
|
||||
public MockFilterChain(boolean expectToProceed) {
|
||||
MockFilterChain(boolean expectToProceed) {
|
||||
this.expectToProceed = expectToProceed;
|
||||
}
|
||||
|
||||
|
||||
@@ -120,7 +120,7 @@ public class AnonymousAuthenticationFilterTests {
|
||||
private class MockFilterChain implements FilterChain {
|
||||
private boolean expectToProceed;
|
||||
|
||||
public MockFilterChain(boolean expectToProceed) {
|
||||
MockFilterChain(boolean expectToProceed) {
|
||||
this.expectToProceed = expectToProceed;
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ public class J2eePreAuthenticatedProcessingFilterTests {
|
||||
getRequest("testUser", new String[] {})));
|
||||
}
|
||||
|
||||
private final HttpServletRequest getRequest(final String aUserName,
|
||||
private HttpServletRequest getRequest(final String aUserName,
|
||||
final String[] aRoles) {
|
||||
MockHttpServletRequest req = new MockHttpServletRequest() {
|
||||
|
||||
|
||||
@@ -168,7 +168,7 @@ public class RememberMeAuthenticationFilterTests {
|
||||
private class MockRememberMeServices implements RememberMeServices {
|
||||
private Authentication authToReturn;
|
||||
|
||||
public MockRememberMeServices(Authentication authToReturn) {
|
||||
MockRememberMeServices(Authentication authToReturn) {
|
||||
this.authToReturn = authToReturn;
|
||||
}
|
||||
|
||||
|
||||
@@ -676,7 +676,7 @@ public class HttpSessionSecurityContextRepositoryTests {
|
||||
|
||||
@Transient
|
||||
private static class SomeTransientAuthentication extends AbstractAuthenticationToken {
|
||||
public SomeTransientAuthentication() {
|
||||
SomeTransientAuthentication() {
|
||||
super(null);
|
||||
}
|
||||
|
||||
@@ -703,7 +703,7 @@ public class HttpSessionSecurityContextRepositoryTests {
|
||||
|
||||
@TestTransientAuthentication
|
||||
private static class SomeOtherTransientAuthentication extends AbstractAuthenticationToken {
|
||||
public SomeOtherTransientAuthentication() {
|
||||
SomeOtherTransientAuthentication() {
|
||||
super(null);
|
||||
}
|
||||
|
||||
|
||||
@@ -180,7 +180,7 @@ public class SaveContextOnUpdateOrErrorResponseWrapperTests {
|
||||
SaveContextOnUpdateOrErrorResponseWrapper {
|
||||
private SecurityContext securityContext;
|
||||
|
||||
public SaveContextOnUpdateOrErrorResponseWrapperStub(
|
||||
SaveContextOnUpdateOrErrorResponseWrapperStub(
|
||||
HttpServletResponse response, boolean disableUrlRewriting) {
|
||||
super(response, disableUrlRewriting);
|
||||
}
|
||||
|
||||
@@ -400,7 +400,7 @@ public class CsrfFilterTests {
|
||||
this.filter.setAccessDeniedHandler(null);
|
||||
}
|
||||
|
||||
private static final CsrfTokenAssert assertToken(Object token) {
|
||||
private static CsrfTokenAssert assertToken(Object token) {
|
||||
return new CsrfTokenAssert((CsrfToken) token);
|
||||
}
|
||||
|
||||
|
||||
@@ -271,7 +271,7 @@ public class AuthenticationPrincipalArgumentResolverTests {
|
||||
this.property = property;
|
||||
}
|
||||
|
||||
public CopyUserPrincipal(CopyUserPrincipal toCopy) {
|
||||
CopyUserPrincipal(CopyUserPrincipal toCopy) {
|
||||
this.property = toCopy.property;
|
||||
}
|
||||
|
||||
|
||||
@@ -314,7 +314,7 @@ public class CurrentSecurityContextArgumentResolverTests {
|
||||
|
||||
static class CustomSecurityContext implements SecurityContext {
|
||||
private Authentication authentication;
|
||||
public CustomSecurityContext(Authentication authentication) {
|
||||
CustomSecurityContext(Authentication authentication) {
|
||||
this.authentication = authentication;
|
||||
}
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user