Merge "Sonar Major:Add the @Override annotation."
authorSteven Blimkie <Steven.Blimkie@amdocs.com>
Wed, 17 Jan 2018 14:32:54 +0000 (14:32 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 17 Jan 2018 14:32:54 +0000 (14:32 +0000)
1  2 
src/main/java/org/onap/aai/modelloader/entity/model/AbstractModelArtifact.java

@@@ -36,7 -36,7 +36,7 @@@ public abstract class AbstractModelArti
                 
    private String modelNamespace;
    private String modelNamespaceVersion;
 -      private Set<String> referencedModelIds = new HashSet<String>(); 
 +      private Set<String> referencedModelIds = new HashSet<>(); 
  
        public AbstractModelArtifact(ArtifactType type) {
          super(type);
@@@ -71,7 -71,7 +71,7 @@@
    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: ");