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

Jean-Noel Rouvignac
08.48.2015 a89f7014aeb71dba5c94404dfea7eb89e7eeee74
opendj-server-legacy/src/main/java/org/opends/server/tools/LDAPConnectionOptions.java
@@ -50,14 +50,10 @@
  private SSLConnectionFactory sslConnectionFactory;
  private String saslMechanism;
  private int versionNumber = 3;
  private Map<String, List<String>> saslProperties =
                                         new HashMap<String, List<String>> ();
  private Map<String, List<String>> saslProperties = new HashMap<> ();
  private boolean verbose;
  /**
   * Creates a the connection options instance.
   *
   */
  /** Creates a the connection options instance. */
  public LDAPConnectionOptions()
  {
  }
@@ -66,9 +62,7 @@
   * Set whether to use SSL for the connection or not.
   *
   * @param useSSL    True if SSL should be used, false otherwise.
   *
   */
  public void setUseSSL(boolean useSSL)
  {
    this.useSSL = useSSL;
@@ -77,8 +71,7 @@
  /**
   * Return the useSSL flag value.
   *
   * @return  <CODE>true</CODE> if SSL should be used, or <CODE>false</CODE> if
   *          not.
   * @return {@code true} if SSL should be used, or {@code false} if not.
   */
  public boolean useSSL()
  {
@@ -222,7 +215,7 @@
    List<String> valList = saslProperties.get(key);
    if(valList == null)
    {
      valList = new ArrayList<String> ();
      valList = new ArrayList<>();
    }
    valList.add(value);