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

Jean-Noel Rouvignac
08.37.2013 8170a25a086fb89f90a2b2b8613e7b7d82a47208
opends/src/server/org/opends/server/replication/server/DbHandler.java
@@ -282,7 +282,7 @@
    {
      flush();
    }
    return new ReplicationIterator(serverId, db, changeNumber, this);
    return new ReplicationIterator(db, changeNumber, this);
  }
  /**
@@ -657,7 +657,7 @@
   * @param to   The upper (newer) change number.
   * @return The computed number of changes.
   */
  public int getCount(ChangeNumber from, ChangeNumber to)
  public long getCount(ChangeNumber from, ChangeNumber to)
  {
    // Now that we always keep the last ChangeNumber in the DB to avoid
    // expiring cookies too quickly, we need to check if the "to"