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

Jean-Noel Rouvignac
31.49.2014 a1f030edc5d19b575470f0d79033d9f7471ab172
opendj3-server-dev/src/server/org/opends/server/tools/LDAPToolUtils.java
@@ -296,7 +296,6 @@
   */
  public static String getMessageForConnectionException(ASN1Exception ae)
  {
    String msg;
    Throwable cause = ae.getCause();
    if (cause != null)
    {
@@ -308,19 +307,10 @@
      }
      if (isTimeout)
      {
        msg = ERR_CLIENT_SIDE_TIMEOUT.get(
            ae.getMessageObject().toString()).toString();
      }
      else
      {
        msg = ae.getMessageObject().toString();
        return ERR_CLIENT_SIDE_TIMEOUT.get(ae.getMessageObject()).toString();
      }
    }
    else
    {
      msg = ae.getMessageObject().toString();
    }
    return msg;
    return ae.getMessageObject().toString();
  }
}