From f2342b8b072c1ce27509d6da58e82a3511a525cd Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Thu, 30 Jan 2020 23:41:33 +0100 Subject: [PATCH] Fixed launcher. Fixed empty parameter call. --- src/org/april/agirstatool/AgirStatoolLauncher.java | 10 +--------- src/org/april/agirstatool/cli/AgirStatoolCLI.java | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/org/april/agirstatool/AgirStatoolLauncher.java b/src/org/april/agirstatool/AgirStatoolLauncher.java index e2bc9b4..fd2e238 100644 --- a/src/org/april/agirstatool/AgirStatoolLauncher.java +++ b/src/org/april/agirstatool/AgirStatoolLauncher.java @@ -64,14 +64,6 @@ public final class AgirStatoolLauncher } // Run. - if (args.length == 0) - { - // TODO - // SikevaGUI.run(); - } - else - { - AgirStatoolCLI.run(args); - } + AgirStatoolCLI.run(args); } } diff --git a/src/org/april/agirstatool/cli/AgirStatoolCLI.java b/src/org/april/agirstatool/cli/AgirStatoolCLI.java index 262b633..64db60a 100644 --- a/src/org/april/agirstatool/cli/AgirStatoolCLI.java +++ b/src/org/april/agirstatool/cli/AgirStatoolCLI.java @@ -168,7 +168,7 @@ public final class AgirStatoolCLI logger.info("{} AgirStatool call: {}", LocalDateTime.now(), new StringList(args).toStringSeparatedBy(" ")); - if (isMatching(args, (String) null)) + if (isMatching(args)) { logger.info("No parameter."); displayHelp();