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

Jean-Noel Rouvignac
08.10.2013 fe7f48c4d11f7b4a003038f2e406a148eac48d1e
opends/src/server/org/opends/server/replication/server/ReplicationServer.java
@@ -1506,14 +1506,14 @@
  {
    // Initialize start state for all running domains with empty state
    MultiDomainServerState result = new MultiDomainServerState();
    for (ReplicationServerDomain rsd : getReplicationServerDomains())
    for (ReplicationServerDomain rsDomain : getReplicationServerDomains())
    {
      final ServerState latestDBServerState = rsd.getLatestServerState();
      if (contains(excludedBaseDNs, rsd.getBaseDN().toNormalizedString())
          || latestDBServerState.isEmpty())
      if (contains(excludedBaseDNs, rsDomain.getBaseDN().toNormalizedString()))
        continue;
      result.update(rsd.getBaseDN(), latestDBServerState);
      final ServerState latestDBServerState = rsDomain.getLatestServerState();
      if (latestDBServerState.isEmpty())
        continue;
      result.update(rsDomain.getBaseDN(), latestDBServerState);
    }
    return result;
  }