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
|
||||
* @since 3.2
|
||||
*/
|
||||
private static enum BuildState {
|
||||
private enum BuildState {
|
||||
/**
|
||||
* This is the state before the {@link Builder#build()} is invoked
|
||||
*/
|
||||
|
|
|
@ -58,11 +58,11 @@ enum SecurityFilters {
|
|||
private static final int INTERVAL = 100;
|
||||
private final int order;
|
||||
|
||||
private SecurityFilters() {
|
||||
SecurityFilters() {
|
||||
order = ordinal() * INTERVAL;
|
||||
}
|
||||
|
||||
private SecurityFilters(int order) {
|
||||
SecurityFilters(int order) {
|
||||
this.order = order;
|
||||
}
|
||||
|
||||
|
|
|
@ -72,11 +72,11 @@ public enum SecurityWebFiltersOrder {
|
|||
|
||||
private final int order;
|
||||
|
||||
private SecurityWebFiltersOrder() {
|
||||
SecurityWebFiltersOrder() {
|
||||
this.order = ordinal() * INTERVAL;
|
||||
}
|
||||
|
||||
private SecurityWebFiltersOrder(int order) {
|
||||
SecurityWebFiltersOrder(int order) {
|
||||
this.order = order;
|
||||
}
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ public final class AesBytesEncryptor implements BytesEncryptor {
|
|||
private BytesKeyGenerator ivGenerator;
|
||||
private String name;
|
||||
|
||||
private CipherAlgorithm(String name, BytesKeyGenerator ivGenerator) {
|
||||
CipherAlgorithm(String name, BytesKeyGenerator ivGenerator) {
|
||||
this.name = name;
|
||||
this.ivGenerator = ivGenerator;
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ public enum PasswordPolicyErrorStatus {
|
|||
private final String errorCode;
|
||||
private final String defaultMessage;
|
||||
|
||||
private PasswordPolicyErrorStatus(String errorCode, String defaultMessage) {
|
||||
PasswordPolicyErrorStatus(String errorCode, String defaultMessage) {
|
||||
this.errorCode = errorCode;
|
||||
this.defaultMessage = defaultMessage;
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ public enum OpenIDAuthenticationStatus {
|
|||
// ~ Constructors
|
||||
// ===================================================================================================
|
||||
|
||||
private OpenIDAuthenticationStatus(String name) {
|
||||
OpenIDAuthenticationStatus(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@ public final class XFrameOptionsHeaderWriter implements HeaderWriter {
|
|||
|
||||
private String mode;
|
||||
|
||||
private XFrameOptionsMode(String mode) {
|
||||
XFrameOptionsMode(String mode) {
|
||||
this.mode = mode;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue