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

Jean-Noel Rouvignac
16.41.2015 040cba63ba4af5bed76846f0edb63c853b009da9
opendj-server-legacy/src/main/java/org/opends/admin/ads/ADSContext.java
@@ -1552,9 +1552,9 @@
   */
  private static LdapName makeDNFromServerProperties(
      Map<ServerProperty, Object> serverProperties) throws ADSContextException
      {
    String serverID ;
    if ( (serverID = getServerID(serverProperties)) != null )
  {
    String serverID = getServerID(serverProperties) ;
    if (serverID != null)
    {
      return makeDNFromServerUniqueId(serverID);
    }
@@ -1570,7 +1570,7 @@
      ServerDescriptor s = ServerDescriptor.createStandalone(serverProperties);
      return makeDNFromServerUniqueId(s.getHostPort(true));
    }
      }
  }
  /**
   * This method returns the DN of the entry that corresponds to the given