aboutsummaryrefslogtreecommitdiffstats
path: root/reception
diff options
context:
space:
mode:
authorramverma <ram.krishna.verma@ericsson.com>2018-09-14 15:20:55 +0100
committerramverma <ram.krishna.verma@ericsson.com>2018-09-14 15:21:21 +0100
commitc50d82d632a2a4d70499e69f0646534403de69fd (patch)
tree882fbdfb9e7b6a0579750304a1183ec3dc4a643d /reception
parentdbffbe7e96ae04ca75f0bb143c483c284cd88cb8 (diff)
Fix sonar bugs in distribution
Change-Id: I20c1246efc3ce0ad6d874e6a0b5c8230c96b9425 Issue-ID: POLICY-1035 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
Diffstat (limited to 'reception')
-rw-r--r--reception/src/main/java/org/onap/policy/distribution/reception/statistics/DistributionStatisticsManager.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/reception/src/main/java/org/onap/policy/distribution/reception/statistics/DistributionStatisticsManager.java b/reception/src/main/java/org/onap/policy/distribution/reception/statistics/DistributionStatisticsManager.java
index cd78d254..3b66ee17 100644
--- a/reception/src/main/java/org/onap/policy/distribution/reception/statistics/DistributionStatisticsManager.java
+++ b/reception/src/main/java/org/onap/policy/distribution/reception/statistics/DistributionStatisticsManager.java
@@ -34,6 +34,10 @@ public class DistributionStatisticsManager {
private static long downloadSuccessCount;
private static long downloadFailureCount;
+ private DistributionStatisticsManager() {
+ throw new IllegalStateException("Instantiation of the class is not allowed");
+ }
+
/**
* Method to update the total distribution count.
*