Disable sonar main args for drools-pdp 79/105679/1
authorJim Hahn <jrh3@att.com>
Thu, 9 Apr 2020 13:46:07 +0000 (09:46 -0400)
committerJim Hahn <jrh3@att.com>
Thu, 9 Apr 2020 13:46:36 +0000 (09:46 -0400)
Issue-ID: POLICY-2305
Change-Id: If056c7e9179e245fafd6badc70ff9eee78fb23b3
Signed-off-by: Jim Hahn <jrh3@att.com>
policy-management/src/main/java/org/onap/policy/drools/system/Main.java

index cd3cc10..c53cbe9 100644 (file)
@@ -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);