remove redundant modifiers found by checkstyle
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ class DelegatingTestExecutionListener
|
||||
|
||||
private final TestExecutionListener delegate;
|
||||
|
||||
public DelegatingTestExecutionListener(TestExecutionListener delegate) {
|
||||
DelegatingTestExecutionListener(TestExecutionListener delegate) {
|
||||
Assert.notNull(delegate, "delegate cannot be null");
|
||||
this.delegate = delegate;
|
||||
}
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@ final class WithUserDetailsSecurityContextFactory implements
|
||||
private BeanFactory beans;
|
||||
|
||||
@Autowired
|
||||
public WithUserDetailsSecurityContextFactory(BeanFactory beans) {
|
||||
WithUserDetailsSecurityContextFactory(BeanFactory beans) {
|
||||
this.beans = beans;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -826,7 +826,7 @@ public final class SecurityMockMvcRequestPostProcessors {
|
||||
implements RequestPostProcessor {
|
||||
private final RequestPostProcessor delegate;
|
||||
|
||||
public UserDetailsRequestPostProcessor(UserDetails user) {
|
||||
UserDetailsRequestPostProcessor(UserDetails user) {
|
||||
Authentication token = new UsernamePasswordAuthenticationToken(user,
|
||||
user.getPassword(), user.getAuthorities());
|
||||
|
||||
|
||||
+1
-1
@@ -205,7 +205,7 @@ public class SecurityMockMvcRequestPostProcessorsCsrfTests {
|
||||
static class SessionRequestWrapper extends HttpServletRequestWrapper {
|
||||
HttpSession session = new MockHttpSession();
|
||||
|
||||
public SessionRequestWrapper(HttpServletRequest request) {
|
||||
SessionRequestWrapper(HttpServletRequest request) {
|
||||
super(request);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user