aboutsummaryrefslogtreecommitdiffstats
path: root/models-sim/policy-models-simulators/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'models-sim/policy-models-simulators/src/main')
-rw-r--r--models-sim/policy-models-simulators/src/main/java/org/onap/policy/models/simulators/Main.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/models-sim/policy-models-simulators/src/main/java/org/onap/policy/models/simulators/Main.java b/models-sim/policy-models-simulators/src/main/java/org/onap/policy/models/simulators/Main.java
index d161e545a..ed9ade562 100644
--- a/models-sim/policy-models-simulators/src/main/java/org/onap/policy/models/simulators/Main.java
+++ b/models-sim/policy-models-simulators/src/main/java/org/onap/policy/models/simulators/Main.java
@@ -132,6 +132,11 @@ public class Main extends ServiceManagerContainer {
* @param args the arguments, the first of which is the name of the parameter file
*/
public static void main(final String[] args) { // NOSONAR
+ /*
+ * Only one argument is used and is validated implicitly by the constructor (i.e.,
+ * file-not-found), thus sonar is disabled.
+ */
+
try {
if (args.length != 1) {
throw new IllegalArgumentException("arg(s): parameter-file-name");