Code Review
/
policy
/
models.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Disable sonar main args for models
[policy/models.git]
/
models-sim
/
policy-models-sim-pdp
/
src
/
main
/
java
/
org
/
onap
/
policy
/
models
/
sim
/
pdp
/
PdpSimulatorMain.java
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
99bf20e
..
0507869
100644
(file)
--- 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);
}
}