Sonar Major:Add the @Override annotation. 93/28293/2
authoraishkashyap <as00476394@techmahindra.com>
Tue, 16 Jan 2018 09:52:15 +0000 (15:22 +0530)
committerJames Forsyth <jf2512@att.com>
Fri, 23 Feb 2018 16:12:28 +0000 (16:12 +0000)
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 <as00476394@techmahindra.com>
src/main/java/org/onap/aai/datarouter/entity/AggregationEntity.java

index 8a9f5e4..b8f5e2b 100644 (file)
@@ -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());