summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorpriyanka.akhade <priyanka.akhade@huawei.com>2020-05-12 11:11:18 +0000
committerpriyanka.akhade <priyanka.akhade@huawei.com>2020-05-12 11:11:18 +0000
commitb8935cd526d698118d3b3c5324075626dbeb5c70 (patch)
tree927b7c2495b743fee78e15308c68b52c81e04f2d /main
parent81c3cbfc6ff60fc705d142a88a64654a75c010e0 (diff)
sonar security issue fix- Make sure that command line arguments are used safely here
Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Issue-ID: CLI-270 Change-Id: I103cc54099f7cdd9f196479c934149da4b65dd01
Diffstat (limited to 'main')
-rw-r--r--main/src/main/java/org/onap/cli/main/OnapCli.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/main/java/org/onap/cli/main/OnapCli.java b/main/src/main/java/org/onap/cli/main/OnapCli.java
index 4119c818..21a0e4aa 100644
--- a/main/src/main/java/org/onap/cli/main/OnapCli.java
+++ b/main/src/main/java/org/onap/cli/main/OnapCli.java
@@ -779,7 +779,7 @@ public class OnapCli {
* array
*/
public static void main(String[] args) {
- OnapCli cli = new OnapCli(args);
+ OnapCli cli = new OnapCli(args); //NOSONAR
cli.handle();
System.exit(cli.getExitCode());
}