Code compliance huge changes.
* Fixed issues CliPrompter: ------------ - print list size - long text line prompt is in CliPromptMessages - multi chhoice prompt from map gets the currect choice CommandParameters: ------------------ - Get boolean null pointer exception fixed - Access to arguments keys. CommandProvider: ---------------- - Check command name on addition ConsoleApplication ------------------ - run status update when exiting start() HelpExecutor ------------ - help content depends on whether the element is a subed command or not ParametrizedCommand ------------------- - Check parameter for modification when adding already existing parameter - Remove need status for boolean arguments - Added invalid command exception - Fail if not interactive and missing needed parameter - Added getters PrintUtils ---------- - Remove last empty line in wrap SystemConsoleManager -------------------- - Added charset for streams - Removal of NULL characters from stream * Added test elements. Use test console manager rather that system one. Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
This commit is contained in:
@@ -79,7 +79,7 @@ public class ExecSystemCommand extends Command {
|
||||
}
|
||||
});
|
||||
th.start();
|
||||
manager.setPrompt(new String());
|
||||
manager.setPrompt("");
|
||||
final OutputStream os = proc.getOutputStream();
|
||||
try (BufferedWriter writer = new BufferedWriter(
|
||||
new OutputStreamWriter(os))) {
|
||||
|
||||
Reference in New Issue
Block a user