opendj-sdk/opendj3-server-dev/src/guitools/org/opends/guitools/uninstaller/UninstallerArgumentParser.java
@@ -48,6 +48,7 @@ import static org.opends.messages.AdminToolMessages.*; import static org.opends.messages.ToolMessages.*; import static com.forgerock.opendj.cli.ArgumentConstants.*; import static com.forgerock.opendj.cli.Utils.LINE_SEPARATOR; /** * Class used to parse and populate the arguments of the Uninstaller. @@ -379,7 +380,7 @@ "--"+noPromptArg.getLongIdentifier()); if (buf.length() > 0) { buf.append(EOL); buf.append(LINE_SEPARATOR); } buf.append(message); } @@ -402,7 +403,7 @@ removeArg.getLongIdentifier()); if (buf.length() > 0) { buf.append(EOL); buf.append(LINE_SEPARATOR); } buf.append(message); } opendj-sdk/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(); } /** opendj-sdk/opendj3-server-dev/src/server/org/opends/server/admin/client/cli/SecureConnectionCliParser.java
@@ -57,7 +57,12 @@ public abstract class SecureConnectionCliParser extends SubCommandArgumentParser { /** * The showUsage' global argument. * Logger. */ private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass(); /** * The 'showUsage' global argument. */ protected BooleanArgument showUsageArg = null; @@ -81,12 +86,6 @@ * look for properties file. */ protected BooleanArgument noPropertiesFileArg; private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass(); /** * End Of Line. */ public static String EOL = System.getProperty("line.separator"); /** * Creates a new instance of this argument parser with no arguments. @@ -154,7 +153,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 @@ -392,14 +391,7 @@ */ public boolean isVerbose() { if (verboseArg.isPresent()) { return true; } else { return false ; } return verboseArg.isPresent(); } opendj-sdk/opendj3-server-dev/src/server/org/opends/server/tools/dsreplication/ReplicationCliArgumentParser.java
@@ -32,6 +32,7 @@ import static com.forgerock.opendj.cli.ArgumentConstants.*; import static com.forgerock.opendj.cli.Utils.canWrite; import static org.opends.quicksetup.util.Utils.isDn; import static com.forgerock.opendj.cli.Utils.LINE_SEPARATOR; import java.io.File; import java.io.OutputStream; @@ -2181,7 +2182,7 @@ { if (buf.length() > 0) { buf.append(EOL); buf.append(LINE_SEPARATOR); } buf.append(message); }