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/plugin/FakeModifyOperation.java |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/plugin/FakeModifyOperation.java b/opends/src/server/org/opends/server/replication/plugin/FakeModifyOperation.java
index e9ad18a..1f188ba 100644
--- a/opends/src/server/org/opends/server/replication/plugin/FakeModifyOperation.java
+++ b/opends/src/server/org/opends/server/replication/plugin/FakeModifyOperation.java
@@ -23,13 +23,14 @@
  *
  *
  *      Copyright 2006-2008 Sun Microsystems, Inc.
- *      Portions copyright 2012 ForgeRock AS.
+ *      Portions copyright 2012-2013 ForgeRock AS
  */
 package org.opends.server.replication.plugin;
 
 import java.util.ArrayList;
+import java.util.List;
 
-import org.opends.server.replication.common.ChangeNumber;
+import org.opends.server.replication.common.CSN;
 import org.opends.server.replication.protocol.ModifyMsg;
 import org.opends.server.replication.protocol.ReplicationMsg;
 import org.opends.server.types.DN;
@@ -40,12 +41,11 @@
  * information that stay in the entry in the database.
  *
  * This is useful when a LDAP server can't find a LDAP server that
- * has already seen all its changes and therefore need to retransmit them
- *
+ * has already seen all its changes and therefore need to retransmit them.
  */
 public class FakeModifyOperation extends FakeOperation
 {
-  private ArrayList<Modification> mods = new ArrayList<Modification>();
+  private List<Modification> mods = new ArrayList<Modification>();
   private DN dn;
   private String entryuuid;
 
@@ -53,12 +53,12 @@
    * Creates a new ModifyFakeOperation with the provided information.
    *
    * @param dn The DN on which the Operation was applied.
-   * @param changenumber The ChangeNumber of the operation.
+   * @param csn The CSN of the operation.
    * @param entryuuid The unique ID of the entry on which the Operation applies.
    */
-  public FakeModifyOperation(DN dn, ChangeNumber changenumber, String entryuuid)
+  public FakeModifyOperation(DN dn, CSN csn, String entryuuid)
   {
-    super(changenumber);
+    super(csn);
     this.dn = dn;
     this.entryuuid = entryuuid;
   }
@@ -81,6 +81,6 @@
   @Override
   public ReplicationMsg generateMessage()
   {
-    return new ModifyMsg(super.getChangeNumber(), dn, mods, entryuuid);
+    return new ModifyMsg(getCSN(), dn, mods, entryuuid);
   }
 }

--
Gitblit v1.10.0