summaryrefslogtreecommitdiffstats
path: root/site-manager/src
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2017-07-24 11:24:40 -0500
committerJorge Hernandez <jh1730@att.com>2017-07-24 11:24:40 -0500
commita9cf7cad63d4e241ce46dcfc367ead2279c3fa69 (patch)
treebbf5aaeb2f7b527d90fba614d29db6560f6382d4 /site-manager/src
parentbd4272c9ed550bd68ccaa3a850f1295bca583ed5 (diff)
[POLICY-8] clean commons from sonar blockers
Change-Id: Ibcc238b21d6ff860a3df80e8bd570a14f5367b5d Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'site-manager/src')
-rw-r--r--site-manager/src/main/java/org/openecomp/policy/common/sitemanager/Main.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/site-manager/src/main/java/org/openecomp/policy/common/sitemanager/Main.java b/site-manager/src/main/java/org/openecomp/policy/common/sitemanager/Main.java
index 3344f923..52f36e33 100644
--- a/site-manager/src/main/java/org/openecomp/policy/common/sitemanager/Main.java
+++ b/site-manager/src/main/java/org/openecomp/policy/common/sitemanager/Main.java
@@ -167,7 +167,7 @@ public class Main
System.exit(1);
}
- if (cmd.getOptionValue('h') != null || cmd.getOptionValue('?') != null)
+ if (cmd == null || cmd.getOptionValue('h') != null || cmd.getOptionValue('?') != null)
{
help();
System.exit(0);