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

Jean-Noël Rouvignac
07.15.2016 92ca37b3ae4ee03b8319a1f5586b9bffd8d73f81
opendj-server-legacy/src/main/java/org/opends/admin/ads/ServerDescriptor.java
@@ -603,7 +603,7 @@
      startTLSEnabled = Boolean.TRUE.equals(array.get(array.size() -1));
    }
    adsProperties.put(ADSContext.ServerProperty.STARTTLS_ENABLED, Boolean.toString(startTLSEnabled));
    adsProperties.put(ADSContext.ServerProperty.ID, getHostPort(true));
    adsProperties.put(ADSContext.ServerProperty.ID, getHostPort(true).toString());
    adsProperties.put(ADSContext.ServerProperty.INSTANCE_PUBLIC_KEY_CERTIFICATE,
                      getInstancePublicKeyCertificate());
  }
@@ -1401,7 +1401,7 @@
   */
  public static String getReplicationServer(String hostName, int replicationPort)
  {
    return new HostPort(hostName, replicationPort).toString();
    return HostPort.toString(hostName, replicationPort);
  }
  /**