summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/pdpx/PolicyDecoderCsarPdpx.java4
-rw-r--r--plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/pdpx/PolicyDecoderToscaPdpx.java4
-rw-r--r--reception/src/main/java/org/onap/policy/distribution/reception/statistics/DistributionStatisticsManager.java4
3 files changed, 10 insertions, 2 deletions
diff --git a/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/pdpx/PolicyDecoderCsarPdpx.java b/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/pdpx/PolicyDecoderCsarPdpx.java
index 4585ce73..03f0c041 100644
--- a/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/pdpx/PolicyDecoderCsarPdpx.java
+++ b/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/pdpx/PolicyDecoderCsarPdpx.java
@@ -87,5 +87,7 @@ public class PolicyDecoderCsarPdpx implements PolicyDecoder<Csar, PdpxPolicy> {
}
@Override
- public void configure(final String parameterGroupName) {}
+ public void configure(final String parameterGroupName) {
+ throw new UnsupportedOperationException("The method is not supprted");
+ }
}
diff --git a/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/pdpx/PolicyDecoderToscaPdpx.java b/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/pdpx/PolicyDecoderToscaPdpx.java
index 40b33359..41793ebf 100644
--- a/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/pdpx/PolicyDecoderToscaPdpx.java
+++ b/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/pdpx/PolicyDecoderToscaPdpx.java
@@ -44,6 +44,8 @@ public class PolicyDecoderToscaPdpx implements PolicyDecoder<Tosca, PdpxPolicy>
}
@Override
- public void configure(final String parameterGroupName) {}
+ public void configure(final String parameterGroupName) {
+ throw new UnsupportedOperationException("The method is not supprted");
+ }
}
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.
*