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/backends/jeb/IndexIteratorAllIds.java |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/opends/src/server/org/opends/server/backends/jeb/IndexIteratorAllIds.java b/opends/src/server/org/opends/server/backends/jeb/IndexIteratorAllIds.java
index c682658..29cb318 100644
--- a/opends/src/server/org/opends/server/backends/jeb/IndexIteratorAllIds.java
+++ b/opends/src/server/org/opends/server/backends/jeb/IndexIteratorAllIds.java
@@ -35,9 +35,12 @@
 {
   /**
    * Create a new iterator over all the entry IDs in the backend.
+   *
+   * @param rootContainer The root container where IDs from this
+   *                     iterator will cover.
    */
-  public IndexIteratorAllIds()
+  public IndexIteratorAllIds(RootContainer rootContainer)
   {
-    super(EntryID.getLowest(), EntryID.getHighest());
+    super(rootContainer.getLowestEntryID(), rootContainer.getHighestEntryID());
   }
 }

--
Gitblit v1.10.0