Remove explicit super() calls

This commit is contained in:
Johnny Lim 2017-11-18 10:15:19 +09:00 committed by Rob Winch
parent 57353d18e5
commit 921157cdcd
12 changed files with 1 additions and 26 deletions

View File

@ -76,10 +76,6 @@ public final class OAuth2LoginConfigurer<B extends HttpSecurityBuilder<B>> exten
private final UserInfoEndpointConfig userInfoEndpointConfig = new UserInfoEndpointConfig();
private String loginPage;
public OAuth2LoginConfigurer() {
super();
}
public OAuth2LoginConfigurer<B> clientRegistrationRepository(ClientRegistrationRepository clientRegistrationRepository) {
Assert.notNull(clientRegistrationRepository, "clientRegistrationRepository cannot be null");
this.getBuilder().setSharedObject(ClientRegistrationRepository.class, clientRegistrationRepository);

View File

@ -42,7 +42,6 @@ public class SecurityConfigurerAdapterTests {
private final int order;
public OrderedObjectPostProcessor(int order) {
super();
this.order = order;
}

View File

@ -26,7 +26,6 @@ public class Contact {
* @param name
*/
public Contact(String name) {
super();
this.name = name;
}
@ -36,4 +35,4 @@ public class Contact {
public String getName() {
return name;
}
}
}

View File

@ -28,12 +28,6 @@ import org.springframework.security.core.Authentication;
* @author Ben Alex
*/
public class SecurityContextImplTests {
// ~ Constructors
// ===================================================================================================
public SecurityContextImplTests() {
super();
}
// ~ Methods
// ========================================================================================================

View File

@ -36,7 +36,6 @@ public class ThymeleafConfig implements WebFluxConfigurer {
private ApplicationContext applicationContext;
public ThymeleafConfig(final ApplicationContext applicationContext) {
super();
this.applicationContext = applicationContext;
}

View File

@ -24,7 +24,6 @@ public class Directory extends AbstractElement {
public static final Directory ROOT_DIRECTORY = new Directory();
private Directory() {
super();
}
public Directory(String name, Directory parent) {

View File

@ -39,7 +39,6 @@ class DelegatingEvaluationContext implements EvaluationContext {
private final EvaluationContext delegate;
public DelegatingEvaluationContext(EvaluationContext delegate) {
super();
this.delegate = delegate;
}

View File

@ -106,7 +106,6 @@ public final class LazyCsrfTokenRepository implements CsrfTokenRepository {
SaveOnAccessCsrfToken(CsrfTokenRepository tokenRepository,
HttpServletRequest request, HttpServletResponse response,
CsrfToken delegate) {
super();
this.tokenRepository = tokenRepository;
this.request = request;
this.response = response;

View File

@ -133,7 +133,6 @@ public final class HpkpHeaderWriter implements HeaderWriter {
* @param reportOnly maps to {@link #setReportOnly(boolean)}
*/
public HpkpHeaderWriter(long maxAgeInSeconds, boolean includeSubDomains, boolean reportOnly) {
super();
this.maxAgeInSeconds = maxAgeInSeconds;
this.includeSubDomains = includeSubDomains;
this.reportOnly = reportOnly;

View File

@ -73,7 +73,6 @@ public final class HstsHeaderWriter implements HeaderWriter {
*/
public HstsHeaderWriter(RequestMatcher requestMatcher, long maxAgeInSeconds,
boolean includeSubDomains) {
super();
this.requestMatcher = requestMatcher;
this.maxAgeInSeconds = maxAgeInSeconds;
this.includeSubDomains = includeSubDomains;

View File

@ -33,7 +33,6 @@ public class HttpHeaderWriterWebFilter implements WebFilter {
private final ServerHttpHeadersWriter writer;
public HttpHeaderWriterWebFilter(ServerHttpHeadersWriter writer) {
super();
this.writer = writer;
}

View File

@ -28,12 +28,6 @@ import org.springframework.mock.web.MockHttpServletRequest;
* @author Ben Alex
*/
public class PortResolverImplTests {
// ~ Constructors
// ===================================================================================================
public PortResolverImplTests() {
super();
}
// ~ Methods
// ========================================================================================================