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

jvergara
02.05.2007 e4bda951f24517dd0aa2ab3c7671e179785c3faa
opends/src/quicksetup/org/opends/quicksetup/CliApplicationHelper.java
@@ -864,20 +864,7 @@
  protected ConnectionProtocolPolicy getConnectionPolicy(boolean useSSL,
      boolean useStartTLS)
  {
    ConnectionProtocolPolicy policy;
    if (useStartTLS)
    {
      policy = ConnectionProtocolPolicy.USE_STARTTLS;
    }
    else if (useSSL)
    {
      policy = ConnectionProtocolPolicy.USE_LDAPS;
    }
    else
    {
      policy = ConnectionProtocolPolicy.USE_LESS_SECURE_AVAILABLE;
    }
    return policy;
    return ConnectionProtocolPolicy.getConnectionPolicy(useSSL, useStartTLS);
  }
  /**