From 64721a895973f935c1adb975247770f402a88fdf Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 25 Apr 2016 15:10:24 +0000
Subject: [PATCH] ACI UCDetector and AutoRefactor code cleanup
---
opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/EnumDayOfWeek.java | 46 +++++++++++-----------------------------------
1 files changed, 11 insertions(+), 35 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/EnumDayOfWeek.java b/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/EnumDayOfWeek.java
index 6a639dc..ca746a8 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/EnumDayOfWeek.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/EnumDayOfWeek.java
@@ -12,55 +12,31 @@
* information: "Portions Copyright [year] [name of copyright owner]".
*
* Copyright 2008 Sun Microsystems, Inc.
- * Portions Copyright 2015 ForgeRock AS.
+ * Portions Copyright 2015-2016 ForgeRock AS.
*/
package org.opends.server.authorization.dseecompat;
import java.util.Calendar;
-/**
- * This class provides an enumeration of the allowed dayofweek types.
- */
-public enum EnumDayOfWeek {
-
- /**
- * The enumeration type when the bind rule has specified dayofweek type of
- * "mon".
- */
+/** This class provides an enumeration of the allowed dayofweek types. */
+enum EnumDayOfWeek {
+ /** The enumeration type when the bind rule has specified dayofweek type of "mon". */
DAY_MONDAY ("mon"),
- /**
- * The enumeration type when the bind rule has specified dayofweek type of
- * "tue" .
- */
+ /** The enumeration type when the bind rule has specified dayofweek type of "tue" . */
DAY_TUESDAY ("tue"),
- /**
- * The enumeration type when the bind rule has specified dayofweek type of
- * "wed".
- */
+ /** The enumeration type when the bind rule has specified dayofweek type of "wed". */
DAY_WEDNESDAY ("wed"),
- /**
- * The enumeration type when the bind rule has specified dayofweek type of
- * "thu".
- */
+ /** The enumeration type when the bind rule has specified dayofweek type of "thu". */
DAY_THURSDAY ("thu"),
- /**
- * The enumeration type when the bind rule has specified dayofweek type of
- * "fri".
- */
+ /** The enumeration type when the bind rule has specified dayofweek type of "fri". */
DAY_FRIDAY ("fri"),
- /**
- * The enumeration type when the bind rule has specified dayofweek type of
- * "sat".
- */
+ /** The enumeration type when the bind rule has specified dayofweek type of "sat". */
DAY_SATURDAY ("sat"),
- /**
- * The enumeration type when the bind rule has specified dayofweek type of
- * "sun".
- */
+ /** The enumeration type when the bind rule has specified dayofweek type of "sun". */
DAY_SUNDAY ("sun");
/** The bind rule dayofweek type name. */
- private String day = null;
+ private final String day;
/**
* Creates a new enumeration type for the specified bind rule dayofweek
--
Gitblit v1.10.0