mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
30.29.2013 4772c4aec3a23175ad9ac33b4cd843062168d335
opends/src/server/org/opends/server/replication/server/changelog/api/ReplicaDBCursorComparator.java
File was renamed from opends/src/server/org/opends/server/replication/server/changelog/api/ReplicationDBCursorComparator.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();