petrov-mg commented on code in PR #11604:
URL: https://github.com/apache/ignite/pull/11604#discussion_r1941863184


##########
modules/control-utility/src/main/java/org/apache/ignite/internal/commandline/ArgumentParser.java:
##########
@@ -143,64 +143,46 @@ public class ArgumentParser {
     /** */
     private final List<CLIArgument<?>> common = new ArrayList<>();
 
-    static {
-        SENSITIVE_ARGUMENTS.add(CMD_PASSWORD);
-        SENSITIVE_ARGUMENTS.add(CMD_KEYSTORE_PASSWORD);
-        SENSITIVE_ARGUMENTS.add(CMD_TRUSTSTORE_PASSWORD);
-    }
-
-    /**
-     * @param arg To check.
-     * @return True if provided argument is among sensitive one and not should 
be displayed.
-     */
-    public static boolean isSensitiveArgument(String arg) {
-        return SENSITIVE_ARGUMENTS.contains(arg);
-    }
+    /** Console instance. */
+    protected final GridConsole console;
 
     /**
      * @param log Logger.
      * @param registry Supported commands.
+     * @param console Supported commands.

Review Comment:
   `Supported commands` -> `Console`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to