From 51348a3ea34fba020f94ce15a3faa1189b45fe33 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Tue, 02 Oct 2007 06:43:22 +0000
Subject: [PATCH] Enable some of the total update replication tests

---
 opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationBackend.java |   31 -------------------------------
 1 files changed, 0 insertions(+), 31 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationBackend.java b/opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationBackend.java
index dccbd64..fc2bb7c 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationBackend.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationBackend.java
@@ -128,9 +128,6 @@
   // The base DNs for this backend.
   private DN[] baseDNs;
 
-  // The mapping between parent DNs and their immediate children.
-  private HashMap<DN,HashSet<DN>> childDNs;
-
   // The base DNs for this backend, in a hash set.
   private HashSet<DN> baseDNSet;
 
@@ -229,8 +226,6 @@
       baseDNSet.add(dn);
     }
 
-    childDNs = new HashMap<DN,HashSet<DN>>();
-
     supportedControls = new HashSet<String>();
     supportedFeatures = new HashSet<String>();
 
@@ -1090,32 +1085,6 @@
     }
   }
 
-  /**
-   * Export the changes for a given ReplicationCache.
-   */
-  private void searchContainer2(ReplicationCache rc,
-      SearchOperation searchOperation)
-  throws DirectoryException
-  {
-    // Walk through the servers
-    for (Short serverId : rc.getServers())
-    {
-      ReplicationIterator ri = rc.getChangelogIterator(serverId,
-          null);
-
-      if (ri == null)
-        break;
-
-      // Walk through the changes
-      while (ri.getChange() != null)
-      {
-        UpdateMessage msg = ri.getChange();
-        processChange(msg, null, null, searchOperation);
-        if (!ri.next())
-          break;
-      }
-    }
-  }
 
   /**
    * Retrieves the replication server associated to this backend.

--
Gitblit v1.10.0