summaryrefslogtreecommitdiffstats
path: root/controlloop/common/model-impl/sdc
diff options
context:
space:
mode:
authorshashikanth <shashikanth.vh@huawei.com>2017-09-26 16:11:41 +0530
committerShashikanth VH <shashikanth.vh@huawei.com>2017-09-27 04:59:04 +0000
commit7e3076dc28f4265db6b3bc6d1b693fe7801e80cd (patch)
tree7ffff0f623daa6764d0b3de2a1cf391a28ef5f61 /controlloop/common/model-impl/sdc
parent83e5f06aef61e32463c97241fd6a5cfef6679206 (diff)
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 <shashikanth.vh@huawei.com>
Diffstat (limited to 'controlloop/common/model-impl/sdc')
-rw-r--r--controlloop/common/model-impl/sdc/src/main/java/org/onap/policy/sdc/ResourceType.java3
1 files changed, 2 insertions, 1 deletions
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;
}