From 7e3076dc28f4265db6b3bc6d1b693fe7801e80cd Mon Sep 17 00:00:00 2001 From: shashikanth Date: Tue, 26 Sep 2017 16:11:41 +0530 Subject: Fix major sonar issues Fix major sonar issues in policy/drools-applications module https://sonar.onap.org/component_issues?id=org.onap.policy.drools-applications%3Adrools-pdp-apps#resolved=false|severities=MAJOR|rules=squid%3AS1161 Added "@Override" annotation above this method signature. Issue-Id:POLICY-239 Change-Id: I578d0e740a6c04ba02df400a3abc99f9b774908a Signed-off-by: shashikanth.vh --- .../model-impl/sdc/src/main/java/org/onap/policy/sdc/ResourceType.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'controlloop/common/model-impl/sdc/src') diff --git a/controlloop/common/model-impl/sdc/src/main/java/org/onap/policy/sdc/ResourceType.java b/controlloop/common/model-impl/sdc/src/main/java/org/onap/policy/sdc/ResourceType.java index ee2fc89fd..c4dbfffa4 100644 --- a/controlloop/common/model-impl/sdc/src/main/java/org/onap/policy/sdc/ResourceType.java +++ b/controlloop/common/model-impl/sdc/src/main/java/org/onap/policy/sdc/ResourceType.java @@ -33,7 +33,8 @@ public enum ResourceType { this.type = type; } - public String toString() { + @Override + public String toString() { return this.type; } -- cgit 1.2.3-korg