From 4772c4aec3a23175ad9ac33b4cd843062168d335 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 30 Aug 2013 12:29:54 +0000
Subject: [PATCH] OPENDJ-1116 Introduce abstraction for the changelog DB

---
 opends/src/server/org/opends/server/replication/server/changelog/api/ReplicaDBCursorComparator.java |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/server/changelog/api/ReplicationDBCursorComparator.java b/opends/src/server/org/opends/server/replication/server/changelog/api/ReplicaDBCursorComparator.java
similarity index 83%
rename from opends/src/server/org/opends/server/replication/server/changelog/api/ReplicationDBCursorComparator.java
rename to opends/src/server/org/opends/server/replication/server/changelog/api/ReplicaDBCursorComparator.java
index a716210..8dc3d5f 100644
--- a/opends/src/server/org/opends/server/replication/server/changelog/api/ReplicationDBCursorComparator.java
+++ b/opends/src/server/org/opends/server/replication/server/changelog/api/ReplicaDBCursorComparator.java
@@ -33,14 +33,13 @@
 
 /**
  * This class defines a {@link Comparator} that allows to know which
- * {@link ReplicationDBCursor} contain the next {@link UpdateMsg} in the order
+ * {@link ReplicaDBCursor} contain the next {@link UpdateMsg} in the order
  * defined by the {@link ChangeNumber} of the {@link UpdateMsg}.
  */
-public class ReplicationDBCursorComparator
-              implements Comparator<ReplicationDBCursor>
+public class ReplicaDBCursorComparator implements Comparator<ReplicaDBCursor>
 {
   /**
-   * Compare the {@link ChangeNumber} of the {@link ReplicationDBCursor}.
+   * Compare the {@link ChangeNumber} of the {@link ReplicaDBCursor}.
    *
    * @param o1
    *          first cursor.
@@ -49,7 +48,7 @@
    * @return result of the comparison.
    */
   @Override
-  public int compare(ReplicationDBCursor o1, ReplicationDBCursor o2)
+  public int compare(ReplicaDBCursor o1, ReplicaDBCursor o2)
   {
     ChangeNumber csn1 = o1.getChange().getChangeNumber();
     ChangeNumber csn2 = o2.getChange().getChangeNumber();

--
Gitblit v1.10.0