From 6d6fb5878d31d502b931ec1f632291713ff42f97 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Thu, 9 Apr 2020 09:55:43 -0400 Subject: Disable sonar main args for models Issue-ID: POLICY-2305 Change-Id: Ie8c45fb767ec9b2f9b1b541532fede52306c36b4 Signed-off-by: Jim Hahn --- .../main/java/org/onap/policy/models/sim/pdp/PdpSimulatorMain.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'models-sim/policy-models-sim-pdp') diff --git a/models-sim/policy-models-sim-pdp/src/main/java/org/onap/policy/models/sim/pdp/PdpSimulatorMain.java b/models-sim/policy-models-sim-pdp/src/main/java/org/onap/policy/models/sim/pdp/PdpSimulatorMain.java index 99bf20e48..050786902 100644 --- a/models-sim/policy-models-sim-pdp/src/main/java/org/onap/policy/models/sim/pdp/PdpSimulatorMain.java +++ b/models-sim/policy-models-sim-pdp/src/main/java/org/onap/policy/models/sim/pdp/PdpSimulatorMain.java @@ -149,6 +149,10 @@ public class PdpSimulatorMain { * */ public static void main(final String[] args) { // NOSONAR + /* + * The arguments are validated by the constructor, thus sonar is disabled. + */ + new PdpSimulatorMain(args); } } -- cgit 1.2.3-korg