Sonar Major:Add the @Override annotation. 35/28135/1
authoraishkashyap <as00476394@techmahindra.com>
Mon, 15 Jan 2018 05:22:59 +0000 (10:52 +0530)
committeraishkashyap <as00476394@techmahindra.com>
Mon, 15 Jan 2018 05:23:06 +0000 (10:53 +0530)
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.aai.model-loader%3Amodel-loader#resolved=false|assignees=aishkashyap

Location:
src/main/java/org/onap/aai/modelloader/entity/model/AbstractModelArtifact.java

Line No:75

Issue-ID: AAI-647
Change-Id: I2da826e5c3d825abf79d6452e006ac6196c5f73a
Signed-off-by: aishkashyap <as00476394@techmahindra.com>
src/main/java/org/onap/aai/modelloader/entity/model/AbstractModelArtifact.java

index a942cf6..32f2f0e 100644 (file)
@@ -71,7 +71,7 @@ public abstract class AbstractModelArtifact extends Artifact {
   public abstract boolean push(AaiRestClient aaiClient, ModelLoaderConfig config, String distId, List<AbstractModelArtifact> addedModels);
   
   public abstract void rollbackModel(AaiRestClient aaiClient, ModelLoaderConfig config, String distId);
-  
+    @Override
        public String toString() {
                StringBuilder sb = new StringBuilder();
                sb.append("\nType=" + getType().toString() +"\nId=" + getUniqueIdentifier() +"\nVersion=" + getModelNamespaceVersion() + "\nDependant models: ");