Added @Override annotation above signature 21/14121/1
authorshashikanth <shashikanth.vh@huawei.com>
Thu, 21 Sep 2017 06:24:56 +0000 (11:54 +0530)
committershashikanth <shashikanth.vh@huawei.com>
Thu, 21 Sep 2017 06:24:56 +0000 (11:54 +0530)
Fix Major sonar issues in aai/aai-champ module
https://sonar.onap.org/component_issues?id=org.openecomp.aai%3Achamp#resolved=false|severities=MAJOR

Add the "@Override" annotation above this method signature

Issue-Id:AAI-246
Change-Id: I5e9ef77e2e6e5da91e51f75858f7aeb178d2aa02
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
src/main/java/org/openecomp/aai/champ/model/ChampObject.java

index f83d8ca..6297e63 100644 (file)
@@ -162,8 +162,9 @@ public final class ChampObject implements ChampElement {
 
                private ReservedPropertyKeys(final String text) {
                        this.text = text;
-               } 
-               
+               }
+
+               @Override
                public String toString() {
                        return text;
                }
@@ -184,8 +185,9 @@ public final class ChampObject implements ChampElement {
 
                private IgnoreOnReadPropertyKeys(final String text) {
                        this.text = text;
-               } 
-               
+               }
+
+               @Override
                public String toString() {
                        return text;
                }
@@ -208,6 +210,7 @@ public final class ChampObject implements ChampElement {
                        this.text = text;
                }
 
+               @Override
                public String toString() {
                        return text;
                }