Added @Override annotation
authorshashikanth <shashikanth.vh@huawei.com>
Wed, 27 Sep 2017 11:42:46 +0000 (17:12 +0530)
committerShashikanth VH <shashikanth.vh@huawei.com>
Thu, 28 Sep 2017 04:52:09 +0000 (04:52 +0000)
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>
sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicVariableTerm.java

index b089d60..4edf3ec 100644 (file)
@@ -47,10 +47,10 @@ public class SvcLogicVariableTerm extends SvcLogicExpression {
                }
        }
 
-       
+    @Override
        public String toString()
        {
-               String retval = "";
+               String retval;
                
                if (numOperands() > 0)
                {