From 14c5f3996a46c1281cb133de439f25492c97530a Mon Sep 17 00:00:00 2001
From: dugan <dugan@localhost>
Date: Wed, 07 Mar 2007 14:56:34 +0000
Subject: [PATCH] These changes are mostly related to restructuring the regular expression patterns to make them more readable by defining constants.
---
opends/src/server/org/opends/server/authorization/dseecompat/TimeOfDay.java | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/authorization/dseecompat/TimeOfDay.java b/opends/src/server/org/opends/server/authorization/dseecompat/TimeOfDay.java
index c42c193..7863fc9 100644
--- a/opends/src/server/org/opends/server/authorization/dseecompat/TimeOfDay.java
+++ b/opends/src/server/org/opends/server/authorization/dseecompat/TimeOfDay.java
@@ -36,8 +36,20 @@
* This class represents the timeofday keyword in a bind rule.
*/
public class TimeOfDay implements KeywordBindRule {
+
+ /*
+ * Regular expression matching a valid timeofday rule value (0-2359).
+ */
private static final String timeofdayRegex = "[0-2]\\d[0-5]\\d";
+
+ /*
+ * Enumeration representing the bind rule operation type.
+ */
private EnumBindRuleType type=null;
+
+ /*
+ * Holds the time value parsed from the ACI.
+ */
private int timeRef;
/**
--
Gitblit v1.10.0