aboutsummaryrefslogtreecommitdiffstats
path: root/policy-management/src
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2020-04-09 09:46:07 -0400
committerJim Hahn <jrh3@att.com>2020-04-09 09:46:36 -0400
commitdb27fc73d0e1ef3e77c68b2e2ac02c86eb73e3e5 (patch)
tree0355e150fba0f33f4f170625a0dcc44b94905c1f /policy-management/src
parent18c81f810f26f57196c0a2ebcbd911a2f822c1db (diff)
Disable sonar main args for drools-pdp
Issue-ID: POLICY-2305 Change-Id: If056c7e9179e245fafd6badc70ff9eee78fb23b3 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'policy-management/src')
-rw-r--r--policy-management/src/main/java/org/onap/policy/drools/system/Main.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/policy-management/src/main/java/org/onap/policy/drools/system/Main.java b/policy-management/src/main/java/org/onap/policy/drools/system/Main.java
index cd3cc102..c53cbe9b 100644
--- a/policy-management/src/main/java/org/onap/policy/drools/system/Main.java
+++ b/policy-management/src/main/java/org/onap/policy/drools/system/Main.java
@@ -53,7 +53,12 @@ public class Main {
*
* @param args program arguments.
*/
- public static void main(String[] args) {
+ public static void main(String[] args) { // NOSONAR
+ /*
+ * NOTE: it is up to the individual features to perform argument validation.
+ * However, it doesn't appear that any of the features actually use the arguments,
+ * so no validation is necessary, thus sonar is disabled.
+ */
/* start logger */
Logger logger = LoggerFactory.getLogger(Main.class);