summaryrefslogtreecommitdiffstats
path: root/sliPluginUtils/provider/src/main/java
diff options
context:
space:
mode:
authorshashikanth <shashikanth.vh@huawei.com>2017-09-27 16:31:12 +0530
committerShashikanth VH <shashikanth.vh@huawei.com>2017-09-27 11:54:44 +0000
commit4749ba466f24e8e95e2538889f2f0e1d5f69f7b4 (patch)
tree6ce259de869ef31bad26dc2eb04438aa9b3d450e /sliPluginUtils/provider/src/main/java
parent3458e16a7f0c9b48337a295359cda65423dbd587 (diff)
Fix major sonar issue
Fix major sonar issues in ccsdk/sli/core module https://sonar.onap.org/component_issues?id=org.onap.ccsdk.sli.core%3Accsdk-sli-core#resolved=false|severities=MAJOR|rules=squid%3AS1161 Add the "@Override" annotation above this method signature. Issue-Id:CCSDK-67 Change-Id: Ie074574c7bbd2ca394d116e73aa6aab47ad5b8de Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
Diffstat (limited to 'sliPluginUtils/provider/src/main/java')
-rw-r--r--sliPluginUtils/provider/src/main/java/org/onap/ccsdk/sli/core/slipluginutils/SliPluginUtils.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/sliPluginUtils/provider/src/main/java/org/onap/ccsdk/sli/core/slipluginutils/SliPluginUtils.java b/sliPluginUtils/provider/src/main/java/org/onap/ccsdk/sli/core/slipluginutils/SliPluginUtils.java
index 323758681..d24ae809a 100644
--- a/sliPluginUtils/provider/src/main/java/org/onap/ccsdk/sli/core/slipluginutils/SliPluginUtils.java
+++ b/sliPluginUtils/provider/src/main/java/org/onap/ccsdk/sli/core/slipluginutils/SliPluginUtils.java
@@ -651,6 +651,7 @@ public class SliPluginUtils implements SvcLogicJavaPlugin {
return 0;
}
+ @Override
public boolean equals(Object object) {
if (this == object) {
return true;
@@ -676,6 +677,7 @@ public class SliPluginUtils implements SvcLogicJavaPlugin {
return true;
}
+ @Override
public int hashCode() {
int result = super.hashCode();
result = 31 * result + (child_elements != null ? child_elements.hashCode() : 0);