From 18ddc7943db746e0288a5948765933d54bcba8d0 Mon Sep 17 00:00:00 2001 From: shashikanth Date: Thu, 21 Sep 2017 11:54:56 +0530 Subject: Added @Override annotation above signature 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 --- src/main/java/org/openecomp/aai/champ/model/ChampObject.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/main/java/org/openecomp/aai/champ/model/ChampObject.java b/src/main/java/org/openecomp/aai/champ/model/ChampObject.java index f83d8ca..6297e63 100644 --- a/src/main/java/org/openecomp/aai/champ/model/ChampObject.java +++ b/src/main/java/org/openecomp/aai/champ/model/ChampObject.java @@ -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; } -- cgit 1.2.3-korg