From a89f7014aeb71dba5c94404dfea7eb89e7eeee74 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 08 Jul 2015 06:48:02 +0000
Subject: [PATCH] AutoRefactor'ed Use Diamond Operator

---
 opendj-server-legacy/src/main/java/org/opends/server/tools/LDAPConnectionOptions.java |   15 ++++-----------
 1 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/tools/LDAPConnectionOptions.java b/opendj-server-legacy/src/main/java/org/opends/server/tools/LDAPConnectionOptions.java
index 20f8ed5..5e9f821 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/tools/LDAPConnectionOptions.java
+++ b/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);
 

--
Gitblit v1.10.0