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

Yannick Lecaillez
24.30.2015 9f0904fda87bfcf921deeccdbaeafe834fbad696
opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/LDAPReplicationDomain.java
@@ -3425,7 +3425,7 @@
      throw new DirectoryException(ResultCode.OTHER, message);
    }
    long numberOfEntries = backend.numSubordinates(getBaseDN(), true) + 1;
    long numberOfEntries = backend.getNumberOfEntriesInBaseDN(getBaseDN());
    long entryCount = Math.min(numberOfEntries, 1000);
    OutputStream os;
    ReplLDIFOutputStream ros = null;
@@ -4258,7 +4258,7 @@
      throw new DirectoryException(ResultCode.OTHER, msg);
    }
    return backend.numSubordinates(getBaseDN(), true) + 1;
    return backend.getNumberOfEntriesInBaseDN(getBaseDN());
  }
  /** {@inheritDoc} */