diff options
author | Jim Hahn <jrh3@att.com> | 2020-04-09 09:55:43 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2020-04-09 09:56:56 -0400 |
commit | 6d6fb5878d31d502b931ec1f632291713ff42f97 (patch) | |
tree | c4aad3fc13db12096793e844dbc8747bc9687b5a /models-sim/models-sim-dmaap/src/main | |
parent | b2e61a292bc8a9edbed1569ab5655e2ee17a8f3b (diff) |
Disable sonar main args for models
Issue-ID: POLICY-2305
Change-Id: Ie8c45fb767ec9b2f9b1b541532fede52306c36b4
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'models-sim/models-sim-dmaap/src/main')
-rw-r--r-- | models-sim/models-sim-dmaap/src/main/java/org/onap/policy/models/sim/dmaap/startstop/Main.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/models-sim/models-sim-dmaap/src/main/java/org/onap/policy/models/sim/dmaap/startstop/Main.java b/models-sim/models-sim-dmaap/src/main/java/org/onap/policy/models/sim/dmaap/startstop/Main.java index 7b4f41b07..a7214a073 100644 --- a/models-sim/models-sim-dmaap/src/main/java/org/onap/policy/models/sim/dmaap/startstop/Main.java +++ b/models-sim/models-sim-dmaap/src/main/java/org/onap/policy/models/sim/dmaap/startstop/Main.java @@ -137,7 +137,11 @@ public class Main { * * @param args the arguments */ - public static void main(final String[] args) { + public static void main(final String[] args) { // NOSONAR + /* + * The arguments are validated by the constructor, thus sonar is disabled. + */ + new Main(args); } } |