From e003b4333d38d5a1254d020425fda6f62465e3d0 Mon Sep 17 00:00:00 2001
From: Violette Roche-Montane <violette.roche-montane@forgerock.com>
Date: Mon, 03 Mar 2014 15:41:37 +0000
Subject: [PATCH] Minor code cleanup, replaced EOL by com.forgerock.opendj.cli.Utils.LINE_SEPARATOR.

---
 opendj3-server-dev/src/server/org/opends/server/admin/client/cli/SecureConnectionCliArgs.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/opendj3-server-dev/src/server/org/opends/server/admin/client/cli/SecureConnectionCliArgs.java b/opendj3-server-dev/src/server/org/opends/server/admin/client/cli/SecureConnectionCliArgs.java
index 87654fe..cb7297f 100644
--- a/opendj3-server-dev/src/server/org/opends/server/admin/client/cli/SecureConnectionCliArgs.java
+++ b/opendj3-server-dev/src/server/org/opends/server/admin/client/cli/SecureConnectionCliArgs.java
@@ -184,13 +184,13 @@
    */
   private LinkedHashSet<Argument> argList = null;
 
-  // the trust manager.
+  /** The trust manager. */
   private ApplicationTrustManager trustManager;
 
   private boolean configurationInitialized = false;
   private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass();
 
-  // Defines if the CLI always use the SSL connection type.
+  /** Defines if the CLI always use the SSL connection type. */
   private boolean alwaysSSL = false;
 
   /**
@@ -297,7 +297,7 @@
     if (clearArg.isPresent())
     {
       String bindPasswordValue = clearArg.getValue();
-      if(bindPasswordValue != null && bindPasswordValue.equals("-"))
+      if(bindPasswordValue != null && "-".equals(bindPasswordValue))
       {
         // read the password from the stdin.
         try
@@ -665,7 +665,7 @@
    */
   public boolean useSSL()
   {
-    return (useSSLArg.isPresent() || alwaysSSL());
+    return useSSLArg.isPresent() || alwaysSSL();
   }
 
   /**

--
Gitblit v1.10.0