From db27fc73d0e1ef3e77c68b2e2ac02c86eb73e3e5 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Thu, 9 Apr 2020 09:46:07 -0400 Subject: Disable sonar main args for drools-pdp Issue-ID: POLICY-2305 Change-Id: If056c7e9179e245fafd6badc70ff9eee78fb23b3 Signed-off-by: Jim Hahn --- .../src/main/java/org/onap/policy/drools/system/Main.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'policy-management/src') 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); -- cgit 1.2.3-korg