From 5c3196a7dc35588f22aa086e4e5cf6a563ec0de0 Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Wed, 08 Nov 2006 20:19:03 +0000
Subject: [PATCH] This fix removes the static nextId property as well as the getters and setters for it out of the EntryID class. The nextId property is now a non static property in the RootContainer class. Each RootContainer is responsible for keeping track of the next ID and assigning new entry IDs to all entries in its EntryContainers.
---
opends/src/server/org/opends/server/messages/JebMessages.java | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/messages/JebMessages.java b/opends/src/server/org/opends/server/messages/JebMessages.java
index da326f4..11c516d 100644
--- a/opends/src/server/org/opends/server/messages/JebMessages.java
+++ b/opends/src/server/org/opends/server/messages/JebMessages.java
@@ -1249,6 +1249,13 @@
CATEGORY_MASK_JEB | SEVERITY_MASK_SEVERE_WARNING | 128;
/**
+ * The message ID of an error indicating the entry count of a container can
+ * not be determined.
+ */
+ public static final int MSGID_JEB_GET_ENTRY_COUNT_FAILED =
+ CATEGORY_MASK_JEB | SEVERITY_MASK_SEVERE_WARNING | 129;
+
+ /**
* Associates a set of generic messages with the message IDs defined in this
* class.
*/
@@ -1743,5 +1750,8 @@
registerMessage(MSGID_JEB_SET_PERMISSIONS_FAILED,
"Unable to set file permissions for the backend database " +
"directory %s.");
+ registerMessage(MSGID_JEB_GET_ENTRY_COUNT_FAILED,
+ "Unable to determine the total number of entries in the " +
+ "container: %s");
}
}
--
Gitblit v1.10.0