From 157717b205d4c1f957cf810e04e06f11530c619c Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 02 Sep 2013 08:57:43 +0000
Subject: [PATCH] Renamed: - ChangeNumber to CSN - ChangeNumberGenerator to CSNGenerator - ChangeNumberTest to CSNTest - ChangeNumberGeneratorTest to CSNGeneratorTest

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

diff --git a/opends/src/server/org/opends/server/replication/protocol/ModifyCommonMsg.java b/opends/src/server/org/opends/server/replication/protocol/ModifyCommonMsg.java
index 93f1031..70f9fef 100644
--- a/opends/src/server/org/opends/server/replication/protocol/ModifyCommonMsg.java
+++ b/opends/src/server/org/opends/server/replication/protocol/ModifyCommonMsg.java
@@ -23,8 +23,8 @@
  *
  *
  *      Copyright 2009-2010 Sun Microsystems, Inc.
+ *      Portions copyright 2013 ForgeRock AS
  */
-
 package org.opends.server.replication.protocol;
 
 import java.util.ArrayList;
@@ -36,15 +36,9 @@
 import org.opends.server.protocols.asn1.ASN1Writer;
 import org.opends.server.protocols.ldap.LDAPAttribute;
 import org.opends.server.protocols.ldap.LDAPModification;
-import org.opends.server.replication.common.ChangeNumber;
+import org.opends.server.replication.common.CSN;
 import org.opends.server.replication.plugin.EntryHistorical;
-import org.opends.server.types.Attribute;
-import org.opends.server.types.AttributeType;
-import org.opends.server.types.AttributeUsage;
-import org.opends.server.types.ByteStringBuilder;
-import org.opends.server.types.LDAPException;
-import org.opends.server.types.Modification;
-import org.opends.server.types.RawModification;
+import org.opends.server.types.*;
 
 /**
  * This class holds every common code for the modify messages (mod, moddn).
@@ -80,16 +74,16 @@
   /**
    * Creates a new ModifyCommonMsg with the given informations.
    *
-   * @param cn        The ChangeNumber of the operation for which the
+   * @param csn       The CSN of the operation for which the
    *                  UpdateMessage is created.
    * @param entryUUID The Unique identifier of the entry that is updated
    *                  by the operation for which the UpdateMessage is created.
    * @param dn        The DN of the entry on which the change
    *                  that caused the creation of this object happened
    */
-  public ModifyCommonMsg(ChangeNumber cn, String entryUUID, String dn)
+  public ModifyCommonMsg(CSN csn, String entryUUID, String dn)
   {
-    super(cn, entryUUID, dn);
+    super(csn, entryUUID, dn);
   }
 
   /**

--
Gitblit v1.10.0