summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshashikanth <shashikanth.vh@huawei.com>2017-09-27 17:12:46 +0530
committerShashikanth VH <shashikanth.vh@huawei.com>2017-09-28 04:52:09 +0000
commitc7adf7195e50cf5af435d8c4e8ad143e90ea12c0 (patch)
tree11cc3dd15da98f1fdaffb7a03cb16312d0f72b87
parentd17fb0101e9901337bb69dec225a9b0ecc005eb5 (diff)
Added @Override annotation
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: I233be3f88547049a5f78c438e87f2f8c0129df78 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
-rw-r--r--sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicVariableTerm.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicVariableTerm.java b/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicVariableTerm.java
index b089d60e3..4edf3ecbe 100644
--- a/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicVariableTerm.java
+++ b/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicVariableTerm.java
@@ -47,10 +47,10 @@ public class SvcLogicVariableTerm extends SvcLogicExpression {
}
}
-
+ @Override
public String toString()
{
- String retval = "";
+ String retval;
if (numOperands() > 0)
{