mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-25 11:43:29 +00:00
Unnecessary enum modifier
This commit is contained in:
parent
8d0ca14e55
commit
40bee457f9
@ -409,7 +409,7 @@ public abstract class AbstractConfiguredSecurityBuilder<O, B extends SecurityBui
|
|||||||
* @author Rob Winch
|
* @author Rob Winch
|
||||||
* @since 3.2
|
* @since 3.2
|
||||||
*/
|
*/
|
||||||
private static enum BuildState {
|
private enum BuildState {
|
||||||
/**
|
/**
|
||||||
* This is the state before the {@link Builder#build()} is invoked
|
* This is the state before the {@link Builder#build()} is invoked
|
||||||
*/
|
*/
|
||||||
|
@ -58,11 +58,11 @@ enum SecurityFilters {
|
|||||||
private static final int INTERVAL = 100;
|
private static final int INTERVAL = 100;
|
||||||
private final int order;
|
private final int order;
|
||||||
|
|
||||||
private SecurityFilters() {
|
SecurityFilters() {
|
||||||
order = ordinal() * INTERVAL;
|
order = ordinal() * INTERVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
private SecurityFilters(int order) {
|
SecurityFilters(int order) {
|
||||||
this.order = order;
|
this.order = order;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -72,11 +72,11 @@ public enum SecurityWebFiltersOrder {
|
|||||||
|
|
||||||
private final int order;
|
private final int order;
|
||||||
|
|
||||||
private SecurityWebFiltersOrder() {
|
SecurityWebFiltersOrder() {
|
||||||
this.order = ordinal() * INTERVAL;
|
this.order = ordinal() * INTERVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
private SecurityWebFiltersOrder(int order) {
|
SecurityWebFiltersOrder(int order) {
|
||||||
this.order = order;
|
this.order = order;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ public final class AesBytesEncryptor implements BytesEncryptor {
|
|||||||
private BytesKeyGenerator ivGenerator;
|
private BytesKeyGenerator ivGenerator;
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
private CipherAlgorithm(String name, BytesKeyGenerator ivGenerator) {
|
CipherAlgorithm(String name, BytesKeyGenerator ivGenerator) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.ivGenerator = ivGenerator;
|
this.ivGenerator = ivGenerator;
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,7 @@ public enum PasswordPolicyErrorStatus {
|
|||||||
private final String errorCode;
|
private final String errorCode;
|
||||||
private final String defaultMessage;
|
private final String defaultMessage;
|
||||||
|
|
||||||
private PasswordPolicyErrorStatus(String errorCode, String defaultMessage) {
|
PasswordPolicyErrorStatus(String errorCode, String defaultMessage) {
|
||||||
this.errorCode = errorCode;
|
this.errorCode = errorCode;
|
||||||
this.defaultMessage = defaultMessage;
|
this.defaultMessage = defaultMessage;
|
||||||
}
|
}
|
||||||
|
@ -47,7 +47,7 @@ public enum OpenIDAuthenticationStatus {
|
|||||||
// ~ Constructors
|
// ~ Constructors
|
||||||
// ===================================================================================================
|
// ===================================================================================================
|
||||||
|
|
||||||
private OpenIDAuthenticationStatus(String name) {
|
OpenIDAuthenticationStatus(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@ public final class XFrameOptionsHeaderWriter implements HeaderWriter {
|
|||||||
|
|
||||||
private String mode;
|
private String mode;
|
||||||
|
|
||||||
private XFrameOptionsMode(String mode) {
|
XFrameOptionsMode(String mode) {
|
||||||
this.mode = mode;
|
this.mode = mode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user