summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorshashikanth <shashikanth.vh@huawei.com>2017-09-21 11:54:56 +0530
committershashikanth <shashikanth.vh@huawei.com>2017-09-21 11:54:56 +0530
commit18ddc7943db746e0288a5948765933d54bcba8d0 (patch)
treec0852f1304abb9f2ffa1231986f1b08a81e7d02b /src
parent18a6d392611b532dda5b2d42d889c32e490b90ee (diff)
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 <shashikanth.vh@huawei.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/openecomp/aai/champ/model/ChampObject.java11
1 files changed, 7 insertions, 4 deletions
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;
}