From 5349c97806bb0a00038d8dc3dee4254fad187649 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Wed, 25 Apr 2007 16:35:36 +0000
Subject: [PATCH] Second set of renaming for issue 1090  Rename org.opends.server.replication.changelog into org.opends.server.synchronization.changelog Use replication instead of synchronization in many places in the code/comment/file names

---
 opends/src/server/org/opends/server/replication/plugin/PersistentServerState.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/plugin/PersistentServerState.java b/opends/src/server/org/opends/server/replication/plugin/PersistentServerState.java
index 4ee6d09..64251e2 100644
--- a/opends/src/server/org/opends/server/replication/plugin/PersistentServerState.java
+++ b/opends/src/server/org/opends/server/replication/plugin/PersistentServerState.java
@@ -28,7 +28,7 @@
 
 import static org.opends.server.loggers.Error.logError;
 import static org.opends.server.messages.MessageHandler.getMessage;
-import static org.opends.server.messages.SynchronizationMessages.*;
+import static org.opends.server.messages.ReplicationMessages.*;
 
 import java.util.ArrayList;
 import java.util.LinkedHashSet;
@@ -76,7 +76,7 @@
    /**
     * The attribute name used to store the state in the backend.
     */
-   protected static final String SYNCHRONIZATION_STATE = "ds-sync-state";
+   protected static final String REPLICATION_STATE = "ds-sync-state";
 
   /**
    * create a new ServerState.
@@ -139,7 +139,7 @@
      * save the ServerState
      */
     LinkedHashSet<String> attributes = new LinkedHashSet<String>(1);
-    attributes.add(SYNCHRONIZATION_STATE);
+    attributes.add(REPLICATION_STATE);
     InternalSearchOperation search = conn.processSearch(asn1BaseDn,
         SearchScope.BASE_OBJECT,
         DereferencePolicy.DEREF_ALWAYS, 0, 0, false,
@@ -160,14 +160,14 @@
     if (search.getResultCode() == ResultCode.SUCCESS)
     {
       /*
-       * Read the serverState from the SYNCHRONIZATION_STATE attribute
+       * Read the serverState from the REPLICATION_STATE attribute
        */
       LinkedList<SearchResultEntry> result = search.getSearchEntries();
       resultEntry = result.getFirst();
       if (resultEntry != null)
       {
         AttributeType synchronizationStateType =
-          DirectoryServer.getAttributeType(SYNCHRONIZATION_STATE);
+          DirectoryServer.getAttributeType(REPLICATION_STATE);
         List<Attribute> attrs =
           resultEntry.getAttribute(synchronizationStateType);
         if (attrs != null)
@@ -213,7 +213,7 @@
       return ResultCode.SUCCESS;
 
     LDAPAttribute attr =
-      new LDAPAttribute(SYNCHRONIZATION_STATE, values);
+      new LDAPAttribute(REPLICATION_STATE, values);
     LDAPModification mod = new LDAPModification(ModificationType.REPLACE, attr);
     ArrayList<RawModification> mods = new ArrayList<RawModification>(1);
     mods.add(mod);

--
Gitblit v1.10.0