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

pgamba
13.42.2007 cf7991dd4b96fd08c0e813d66004205d6f803348
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationBackend.java
@@ -328,6 +328,22 @@
  @Override()
  public synchronized long getEntryCount()
  {
    if (server==null)
    {
      try
      {
        server = retrievesReplicationServer();
        if (server == null)
        {
          return 0;
        }
      }
      catch(Exception e)
      {
        return 0;
      }
    }
    //This method only returns the number of actual change entries, the
    //domain and any baseDN entries are not counted.
    long retNum=0;