remove redundant modifiers found by checkstyle
This commit is contained in:
@@ -41,7 +41,7 @@ public class SecurityConfigurerAdapterTests {
|
||||
static class OrderedObjectPostProcessor implements ObjectPostProcessor<String>, Ordered {
|
||||
private final int order;
|
||||
|
||||
public OrderedObjectPostProcessor(int order) {
|
||||
OrderedObjectPostProcessor(int order) {
|
||||
this.order = order;
|
||||
}
|
||||
|
||||
|
||||
@@ -847,7 +847,7 @@ public class ExpressionUrlAuthorizationConfigurerTests {
|
||||
|
||||
static class CustomExpressionRoot extends WebSecurityExpressionRoot {
|
||||
|
||||
public CustomExpressionRoot(Authentication a, FilterInvocation fi) {
|
||||
CustomExpressionRoot(Authentication a, FilterInvocation fi) {
|
||||
super(a, fi);
|
||||
}
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ public class NamespaceHttpExpressionHandlerTests {
|
||||
@EnableWebMvc
|
||||
@EnableWebSecurity
|
||||
private static class ExpressionHandlerConfig extends WebSecurityConfigurerAdapter {
|
||||
public ExpressionHandlerConfig() {}
|
||||
ExpressionHandlerConfig() {}
|
||||
|
||||
@Override
|
||||
protected void configure(AuthenticationManagerBuilder auth) throws Exception {
|
||||
|
||||
@@ -129,7 +129,7 @@ public class SecurityContextConfigurerTests {
|
||||
@Configuration
|
||||
@EnableWebSecurity
|
||||
static class SecurityContextRepositoryDefaultsSecurityContextRepositoryConfig extends WebSecurityConfigurerAdapter {
|
||||
public SecurityContextRepositoryDefaultsSecurityContextRepositoryConfig() {
|
||||
SecurityContextRepositoryDefaultsSecurityContextRepositoryConfig() {
|
||||
super(true);
|
||||
}
|
||||
|
||||
|
||||
@@ -2133,7 +2133,7 @@ public class OAuth2ResourceServerConfigurerTests {
|
||||
|
||||
private class MockWebServerPropertySource extends PropertySource {
|
||||
|
||||
public MockWebServerPropertySource() {
|
||||
MockWebServerPropertySource() {
|
||||
super("mockwebserver");
|
||||
}
|
||||
|
||||
@@ -2178,7 +2178,7 @@ public class OAuth2ResourceServerConfigurerTests {
|
||||
|
||||
private String token;
|
||||
|
||||
public BearerTokenRequestPostProcessor(String token) {
|
||||
BearerTokenRequestPostProcessor(String token) {
|
||||
this.token = token;
|
||||
}
|
||||
|
||||
|
||||
@@ -631,7 +631,7 @@ public class CsrfConfigTests {
|
||||
static class CsrfReturnedResultMatcher implements ResultMatcher {
|
||||
ExceptionalFunction<MvcResult, String> token;
|
||||
|
||||
public CsrfReturnedResultMatcher(ExceptionalFunction<MvcResult, String> token) {
|
||||
CsrfReturnedResultMatcher(ExceptionalFunction<MvcResult, String> token) {
|
||||
this.token = token;
|
||||
}
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ public class HttpConfigTests {
|
||||
private static class EncodeUrlDenyingHttpServletResponseWrapper
|
||||
extends HttpServletResponseWrapper {
|
||||
|
||||
public EncodeUrlDenyingHttpServletResponseWrapper(HttpServletResponse response) {
|
||||
EncodeUrlDenyingHttpServletResponseWrapper(HttpServletResponse response) {
|
||||
super(response);
|
||||
}
|
||||
|
||||
|
||||
@@ -907,7 +907,7 @@ public class MiscHttpConfigTests {
|
||||
static class EncodeUrlDenyingHttpServletResponseWrapper
|
||||
extends HttpServletResponseWrapper {
|
||||
|
||||
public EncodeUrlDenyingHttpServletResponseWrapper(HttpServletResponse response) {
|
||||
EncodeUrlDenyingHttpServletResponseWrapper(HttpServletResponse response) {
|
||||
super(response);
|
||||
}
|
||||
|
||||
|
||||
@@ -610,7 +610,7 @@ public class SessionManagementConfigTests {
|
||||
private static class EncodeUrlDenyingHttpServletResponseWrapper
|
||||
extends HttpServletResponseWrapper {
|
||||
|
||||
public EncodeUrlDenyingHttpServletResponseWrapper(HttpServletResponse response) {
|
||||
EncodeUrlDenyingHttpServletResponseWrapper(HttpServletResponse response) {
|
||||
super(response);
|
||||
}
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ final class HtmlUnitWebTestClient {
|
||||
|
||||
private final WebTestClient webTestClient;
|
||||
|
||||
public HtmlUnitWebTestClient(WebClient webClient, WebTestClient webTestClient) {
|
||||
HtmlUnitWebTestClient(WebClient webClient, WebTestClient webTestClient) {
|
||||
Assert.notNull(webClient, "WebClient must not be null");
|
||||
Assert.notNull(webTestClient, "WebTestClient must not be null");
|
||||
this.webClient = webClient;
|
||||
|
||||
@@ -42,7 +42,7 @@ final class MockWebResponseBuilder {
|
||||
private final FluxExchangeResult<String> exchangeResult;
|
||||
|
||||
|
||||
public MockWebResponseBuilder(long startTime, WebRequest webRequest, FluxExchangeResult<String> exchangeResult) {
|
||||
MockWebResponseBuilder(long startTime, WebRequest webRequest, FluxExchangeResult<String> exchangeResult) {
|
||||
Assert.notNull(webRequest, "WebRequest must not be null");
|
||||
Assert.notNull(exchangeResult, "FluxExchangeResult must not be null");
|
||||
this.startTime = startTime;
|
||||
|
||||
Reference in New Issue
Block a user