diff options
author | 2020-04-21 11:31:49 +0200 | |
---|---|---|
committer | 2020-04-21 11:31:49 +0200 | |
commit | 7fdd72a778f6a84cf6103ec88c3106c09e20c839 (patch) | |
tree | b332c5d062a6c6e9169a8c172630b543ee3d4a03 /pnfsimulator/src/main | |
parent | 617bb3d3a417ea4565b5124d9f1b17029a863fdb (diff) |
Check if command line arguments are used properly
Yes. Parameters are used properly. Thus we will turn off SONAR rule (Using command line arguments is security-sensitive) for this main functions.
Issue-ID: INT-1517
Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Change-Id: I659ba8d6d932653f4866667faa04236a72d77b6b
Diffstat (limited to 'pnfsimulator/src/main')
-rw-r--r-- | pnfsimulator/src/main/java/org/onap/pnfsimulator/Main.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pnfsimulator/src/main/java/org/onap/pnfsimulator/Main.java b/pnfsimulator/src/main/java/org/onap/pnfsimulator/Main.java index e0eace2..708f27f 100644 --- a/pnfsimulator/src/main/java/org/onap/pnfsimulator/Main.java +++ b/pnfsimulator/src/main/java/org/onap/pnfsimulator/Main.java @@ -43,7 +43,9 @@ public class Main { this.fsToDbTemplateSynchronizer = fsToDbTemplateSynchronizer; } - public static void main(String[] args) { + // We are excluding this line in Sonar due to fact that + // Spring is handling arguments + public static void main(String[] args) { // NOSONAR SpringApplication.run(Main.class, args); } |