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

Jean-Noël Rouvignac
22.47.2016 b1b48de3863ef41912751eb3a276ac233dc739e9
opendj-server-legacy/src/main/java/org/opends/admin/ads/ServerDescriptor.java
@@ -202,7 +202,7 @@
   */
  public HostPort getReplicationServerHostPort()
  {
    return isReplicationServer() ? getReplicationServer(getHostName(), getReplicationServerPort()) : null;
    return isReplicationServer() ? new HostPort(getHostName(), getReplicationServerPort()) : null;
  }
  /**
@@ -1120,19 +1120,6 @@
  }
  /**
   * Returns the replication server normalized String for a given host name
   * and replication port.
   * @param hostName the host name.
   * @param replicationPort the replication port.
   * @return the replication server normalized String for a given host name
   * and replication port.
   */
  public static HostPort getReplicationServer(String hostName, int replicationPort)
  {
    return new HostPort(hostName, replicationPort);
  }
  /**
   * Returns a representation of a base DN for a set of servers.
   * @param baseDN the base DN.
   * @param servers the servers.