diff options
author | ramverma <ram.krishna.verma@ericsson.com> | 2018-09-14 15:20:55 +0100 |
---|---|---|
committer | ramverma <ram.krishna.verma@ericsson.com> | 2018-09-14 15:21:21 +0100 |
commit | c50d82d632a2a4d70499e69f0646534403de69fd (patch) | |
tree | 882fbdfb9e7b6a0579750304a1183ec3dc4a643d /plugins/reception-plugins/src | |
parent | dbffbe7e96ae04ca75f0bb143c483c284cd88cb8 (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 'plugins/reception-plugins/src')
2 files changed, 6 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"); + } } |