Unnecessary enum modifier

This commit is contained in:
Lars Grefer 2019-08-09 00:42:07 +02:00
parent 8d0ca14e55
commit 40bee457f9
7 changed files with 9 additions and 9 deletions

View File

@ -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
*/ */

View File

@ -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;
} }

View File

@ -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;
} }

View File

@ -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;
} }

View File

@ -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;
} }

View File

@ -47,7 +47,7 @@ public enum OpenIDAuthenticationStatus {
// ~ Constructors // ~ Constructors
// =================================================================================================== // ===================================================================================================
private OpenIDAuthenticationStatus(String name) { OpenIDAuthenticationStatus(String name) {
this.name = name; this.name = name;
} }

View File

@ -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;
} }