From: aishkashyap Date: Tue, 16 Jan 2018 09:52:15 +0000 (+0530) Subject: Sonar Major:Add the @Override annotation. X-Git-Tag: v1.2.0~23 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Fdata-router.git;a=commitdiff_plain;h=cad9987aa6b4ee290da222a58c43b10efbd234b4 Sonar Major:Add the @Override annotation. Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.data-router%3Adata-router#resolved=false|assignees=aishkashyap Location: src/main/java/org/onap/aai/datarouter/entity/AggregationEntity.java Line No:111 Issue-ID: AAI-665 Change-Id: Ifde1e8fb6b68302d6ffdc6bbb851460f7b572f4d Signed-off-by: aishkashyap --- diff --git a/src/main/java/org/onap/aai/datarouter/entity/AggregationEntity.java b/src/main/java/org/onap/aai/datarouter/entity/AggregationEntity.java index 8a9f5e4..b8f5e2b 100644 --- a/src/main/java/org/onap/aai/datarouter/entity/AggregationEntity.java +++ b/src/main/java/org/onap/aai/datarouter/entity/AggregationEntity.java @@ -107,7 +107,7 @@ public class AggregationEntity implements DocumentStoreDataEntity, Serializable public void addAttributeKeyValuePair(String key, String value){ this.attributes.put(key, value); } - + @Override public String getAsJson() { ObjectNode rootNode = mapper.createObjectNode(); rootNode.put("link", this.getLink());