From c7adf7195e50cf5af435d8c4e8ad143e90ea12c0 Mon Sep 17 00:00:00 2001 From: shashikanth Date: Wed, 27 Sep 2017 17:12:46 +0530 Subject: 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 --- .../main/java/org/onap/ccsdk/sli/core/sli/SvcLogicVariableTerm.java | 4 ++-- 1 file 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 b089d60e..4edf3ecb 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) { -- cgit 1.2.3-korg