aboutsummaryrefslogtreecommitdiffstats
path: root/common/src/main
diff options
context:
space:
mode:
authorlapentafd <francesco.lapenta@est.tech>2021-11-09 10:45:04 +0000
committerlapentafd <francesco.lapenta@est.tech>2021-11-09 11:12:04 +0000
commitd17e8f4bec4dc158cb206199d153e85f49e5d53c (patch)
tree2259045aacd169c74e7ca7dab5f496e6c03913f2 /common/src/main
parent7bc53b8dd7c12dc108ad2625ad6d4c14804e76a6 (diff)
Code Coverage clamp common
Code Coverage and Sonar issue in CommonUtils.java implicit public constructor Issue-ID: POLICY-3452 Change-Id: I55ab96ac7bdd098d7ad4daeb8e89a108e0ab6c4b Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Diffstat (limited to 'common/src/main')
-rw-r--r--common/src/main/java/org/onap/policy/clamp/controlloop/common/utils/CommonUtils.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/common/src/main/java/org/onap/policy/clamp/controlloop/common/utils/CommonUtils.java b/common/src/main/java/org/onap/policy/clamp/controlloop/common/utils/CommonUtils.java
index 4b0e41f23..4ebd0aaa8 100644
--- a/common/src/main/java/org/onap/policy/clamp/controlloop/common/utils/CommonUtils.java
+++ b/common/src/main/java/org/onap/policy/clamp/controlloop/common/utils/CommonUtils.java
@@ -38,8 +38,10 @@ import org.onap.policy.models.tosca.authorative.concepts.ToscaTopologyTemplate;
*
*/
public class CommonUtils {
- private static final String POLICY_TYPE_ID = "policy_type_id";
- private static final String POLICY_ID = "policy_id";
+
+ private CommonUtils() {
+ throw new IllegalStateException("Utility class");
+ }
/**
* Prepare participant updates map.