diff --git a/cli-processor/src/main/java/gov/nist/secauto/metaschema/cli/processor/CLIProcessor.java b/cli-processor/src/main/java/gov/nist/secauto/metaschema/cli/processor/CLIProcessor.java index 17c015a00..a18b2abc5 100644 --- a/cli-processor/src/main/java/gov/nist/secauto/metaschema/cli/processor/CLIProcessor.java +++ b/cli-processor/src/main/java/gov/nist/secauto/metaschema/cli/processor/CLIProcessor.java @@ -214,8 +214,7 @@ public static void handleQuiet() { } protected void showVersion() { - @SuppressWarnings("resource") - PrintStream out = AnsiConsole.out(); // NOPMD - not owner + @SuppressWarnings("resource") PrintStream out = AnsiConsole.out(); // NOPMD - not owner getVersionInfos().values().stream().forEach(info -> { out.println(ansi() .bold().a(info.getName()).boldOff() @@ -253,8 +252,7 @@ public class CallingContext { @SuppressFBWarnings(value = "CT_CONSTRUCTOR_THROW", justification = "Use of final fields") public CallingContext(@NonNull List args) { - @SuppressWarnings("PMD.LooseCoupling") - LinkedList calledCommands = new LinkedList<>(); + @SuppressWarnings("PMD.LooseCoupling") LinkedList calledCommands = new LinkedList<>(); List