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

Matthew Swift
31.25.2013 5a872b4517410def8b08290ebd0645b053be4e32
opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java
@@ -34,7 +34,6 @@
import static org.opends.server.util.StaticUtils.stackTraceToSingleLineString;
import java.io.IOException;
import java.net.InetAddress;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentLinkedQueue;
@@ -3017,18 +3016,9 @@
  @Override
  public String getMonitorInstanceName()
  {
    String hostname = "unknown";
    try
    {
      hostname = InetAddress.getLocalHost().getHostName();
    }
    catch (Exception e) {}
    return "Replication Server "
           + replicationServer.getReplicationPort() + " "
           + hostname
           + " " + replicationServer.getServerId()
           + ",cn=" + baseDn.replace(',', '_').replace('=', '_')
           + ",cn=replication";
    return "Replication server RS(" + replicationServer.getServerId() + ") "
        + replicationServer.getServerURL() + ",cn="
        + baseDn.replace(',', '_').replace('=', '_') + ",cn=Replication";
  }
  /**