Issue-ID: POLICY-2305
Change-Id: Ie8c45fb767ec9b2f9b1b541532fede52306c36b4
Signed-off-by: Jim Hahn <jrh3@att.com>
*
* @param args the arguments
*/
*
* @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.
+ */
+
*
*/
public static void main(final String[] args) { // NOSONAR
*
*/
public static void main(final String[] args) { // NOSONAR
+ /*
+ * The arguments are validated by the constructor, thus sonar is disabled.
+ */
+
new PdpSimulatorMain(args);
}
}
new PdpSimulatorMain(args);
}
}
* @param args the arguments, the first of which is the name of the parameter file
*/
public static void main(final String[] args) { // NOSONAR
* @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");
try {
if (args.length != 1) {
throw new IllegalArgumentException("arg(s): parameter-file-name");