aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2020-03-27 11:12:11 -0400
committerPamela Dragosh <pdragosh@research.att.com>2020-03-27 11:12:16 -0400
commit8b10bae2761fd7891044e9c758e712b2b54bd8ba (patch)
tree492b2adaf6633a327adf2a8e28e06654a544ffcc /main
parent438b24fcd54e25719583d16f689e03d1bcfee2a8 (diff)
Use AtomicInteger and other sonar
Removed unused logger. Added NOSONAR to main to remove security risk, as we do validate arguments. Used AtomicInteger. Issue-ID: POLICY-2305 Change-Id: I18e91836e914b7fd6e3cd9a950dca58fcd8be5b5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'main')
-rw-r--r--main/src/main/java/org/onap/policy/distribution/main/startstop/Main.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/main/java/org/onap/policy/distribution/main/startstop/Main.java b/main/src/main/java/org/onap/policy/distribution/main/startstop/Main.java
index 2c676333..c842bd2b 100644
--- a/main/src/main/java/org/onap/policy/distribution/main/startstop/Main.java
+++ b/main/src/main/java/org/onap/policy/distribution/main/startstop/Main.java
@@ -142,11 +142,11 @@ public class Main {
}
/**
- * The main method.
+ * The main method. The args passed in are validated in the constructor, thus adding the NOSONAR.
*
* @param args the arguments
*/
- public static void main(final String[] args) {
+ public static void main(final String[] args) { // NOSONAR
new Main(args);
}
}