mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-01 09:42:13 +00:00
Remove explicit super() calls
This commit is contained in:
parent
57353d18e5
commit
921157cdcd
@ -76,10 +76,6 @@ public final class OAuth2LoginConfigurer<B extends HttpSecurityBuilder<B>> exten
|
|||||||
private final UserInfoEndpointConfig userInfoEndpointConfig = new UserInfoEndpointConfig();
|
private final UserInfoEndpointConfig userInfoEndpointConfig = new UserInfoEndpointConfig();
|
||||||
private String loginPage;
|
private String loginPage;
|
||||||
|
|
||||||
public OAuth2LoginConfigurer() {
|
|
||||||
super();
|
|
||||||
}
|
|
||||||
|
|
||||||
public OAuth2LoginConfigurer<B> clientRegistrationRepository(ClientRegistrationRepository clientRegistrationRepository) {
|
public OAuth2LoginConfigurer<B> clientRegistrationRepository(ClientRegistrationRepository clientRegistrationRepository) {
|
||||||
Assert.notNull(clientRegistrationRepository, "clientRegistrationRepository cannot be null");
|
Assert.notNull(clientRegistrationRepository, "clientRegistrationRepository cannot be null");
|
||||||
this.getBuilder().setSharedObject(ClientRegistrationRepository.class, clientRegistrationRepository);
|
this.getBuilder().setSharedObject(ClientRegistrationRepository.class, clientRegistrationRepository);
|
||||||
|
@ -42,7 +42,6 @@ public class SecurityConfigurerAdapterTests {
|
|||||||
private final int order;
|
private final int order;
|
||||||
|
|
||||||
public OrderedObjectPostProcessor(int order) {
|
public OrderedObjectPostProcessor(int order) {
|
||||||
super();
|
|
||||||
this.order = order;
|
this.order = order;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,7 +26,6 @@ public class Contact {
|
|||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
public Contact(String name) {
|
public Contact(String name) {
|
||||||
super();
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,12 +28,6 @@ import org.springframework.security.core.Authentication;
|
|||||||
* @author Ben Alex
|
* @author Ben Alex
|
||||||
*/
|
*/
|
||||||
public class SecurityContextImplTests {
|
public class SecurityContextImplTests {
|
||||||
// ~ Constructors
|
|
||||||
// ===================================================================================================
|
|
||||||
|
|
||||||
public SecurityContextImplTests() {
|
|
||||||
super();
|
|
||||||
}
|
|
||||||
|
|
||||||
// ~ Methods
|
// ~ Methods
|
||||||
// ========================================================================================================
|
// ========================================================================================================
|
||||||
|
@ -36,7 +36,6 @@ public class ThymeleafConfig implements WebFluxConfigurer {
|
|||||||
private ApplicationContext applicationContext;
|
private ApplicationContext applicationContext;
|
||||||
|
|
||||||
public ThymeleafConfig(final ApplicationContext applicationContext) {
|
public ThymeleafConfig(final ApplicationContext applicationContext) {
|
||||||
super();
|
|
||||||
this.applicationContext = applicationContext;
|
this.applicationContext = applicationContext;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@ public class Directory extends AbstractElement {
|
|||||||
public static final Directory ROOT_DIRECTORY = new Directory();
|
public static final Directory ROOT_DIRECTORY = new Directory();
|
||||||
|
|
||||||
private Directory() {
|
private Directory() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Directory(String name, Directory parent) {
|
public Directory(String name, Directory parent) {
|
||||||
|
@ -39,7 +39,6 @@ class DelegatingEvaluationContext implements EvaluationContext {
|
|||||||
private final EvaluationContext delegate;
|
private final EvaluationContext delegate;
|
||||||
|
|
||||||
public DelegatingEvaluationContext(EvaluationContext delegate) {
|
public DelegatingEvaluationContext(EvaluationContext delegate) {
|
||||||
super();
|
|
||||||
this.delegate = delegate;
|
this.delegate = delegate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -106,7 +106,6 @@ public final class LazyCsrfTokenRepository implements CsrfTokenRepository {
|
|||||||
SaveOnAccessCsrfToken(CsrfTokenRepository tokenRepository,
|
SaveOnAccessCsrfToken(CsrfTokenRepository tokenRepository,
|
||||||
HttpServletRequest request, HttpServletResponse response,
|
HttpServletRequest request, HttpServletResponse response,
|
||||||
CsrfToken delegate) {
|
CsrfToken delegate) {
|
||||||
super();
|
|
||||||
this.tokenRepository = tokenRepository;
|
this.tokenRepository = tokenRepository;
|
||||||
this.request = request;
|
this.request = request;
|
||||||
this.response = response;
|
this.response = response;
|
||||||
|
@ -133,7 +133,6 @@ public final class HpkpHeaderWriter implements HeaderWriter {
|
|||||||
* @param reportOnly maps to {@link #setReportOnly(boolean)}
|
* @param reportOnly maps to {@link #setReportOnly(boolean)}
|
||||||
*/
|
*/
|
||||||
public HpkpHeaderWriter(long maxAgeInSeconds, boolean includeSubDomains, boolean reportOnly) {
|
public HpkpHeaderWriter(long maxAgeInSeconds, boolean includeSubDomains, boolean reportOnly) {
|
||||||
super();
|
|
||||||
this.maxAgeInSeconds = maxAgeInSeconds;
|
this.maxAgeInSeconds = maxAgeInSeconds;
|
||||||
this.includeSubDomains = includeSubDomains;
|
this.includeSubDomains = includeSubDomains;
|
||||||
this.reportOnly = reportOnly;
|
this.reportOnly = reportOnly;
|
||||||
|
@ -73,7 +73,6 @@ public final class HstsHeaderWriter implements HeaderWriter {
|
|||||||
*/
|
*/
|
||||||
public HstsHeaderWriter(RequestMatcher requestMatcher, long maxAgeInSeconds,
|
public HstsHeaderWriter(RequestMatcher requestMatcher, long maxAgeInSeconds,
|
||||||
boolean includeSubDomains) {
|
boolean includeSubDomains) {
|
||||||
super();
|
|
||||||
this.requestMatcher = requestMatcher;
|
this.requestMatcher = requestMatcher;
|
||||||
this.maxAgeInSeconds = maxAgeInSeconds;
|
this.maxAgeInSeconds = maxAgeInSeconds;
|
||||||
this.includeSubDomains = includeSubDomains;
|
this.includeSubDomains = includeSubDomains;
|
||||||
|
@ -33,7 +33,6 @@ public class HttpHeaderWriterWebFilter implements WebFilter {
|
|||||||
private final ServerHttpHeadersWriter writer;
|
private final ServerHttpHeadersWriter writer;
|
||||||
|
|
||||||
public HttpHeaderWriterWebFilter(ServerHttpHeadersWriter writer) {
|
public HttpHeaderWriterWebFilter(ServerHttpHeadersWriter writer) {
|
||||||
super();
|
|
||||||
this.writer = writer;
|
this.writer = writer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,12 +28,6 @@ import org.springframework.mock.web.MockHttpServletRequest;
|
|||||||
* @author Ben Alex
|
* @author Ben Alex
|
||||||
*/
|
*/
|
||||||
public class PortResolverImplTests {
|
public class PortResolverImplTests {
|
||||||
// ~ Constructors
|
|
||||||
// ===================================================================================================
|
|
||||||
|
|
||||||
public PortResolverImplTests() {
|
|
||||||
super();
|
|
||||||
}
|
|
||||||
|
|
||||||
// ~ Methods
|
// ~ Methods
|
||||||
// ========================================================================================================
|
// ========================================================================================================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user