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

Jean-Noël Rouvignac
19.42.2016 d6b296f5b3549079495ff902803d629dbbcb85b5
opendj-server-legacy/src/main/java/org/opends/admin/ads/SuffixDescriptor.java
@@ -21,6 +21,7 @@
import java.util.TreeSet;
import org.forgerock.opendj.ldap.DN;
import org.opends.server.types.HostPort;
/**
 * The object of this class represent a topology of replicas across servers that
@@ -95,9 +96,9 @@
   *
   * @return the Set of Replication servers for the whole suffix topology.
   */
  public Set<String> getReplicationServers()
  public Set<HostPort> getReplicationServers()
  {
    Set<String> replicationServers = new HashSet<>();
    Set<HostPort> replicationServers = new HashSet<>();
    for (ReplicaDescriptor replica : getReplicas())
    {
      replicationServers.addAll(replica.getReplicationServers());