Merge "Sonar Major:Replace the type specification."
authorSteven Blimkie <Steven.Blimkie@amdocs.com>
Wed, 17 Jan 2018 14:29:00 +0000 (14:29 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 17 Jan 2018 14:29:00 +0000 (14:29 +0000)
src/main/java/org/onap/aai/modelloader/entity/model/ModelArtifactHandler.java

index 47d93e7..3a5b543 100644 (file)
@@ -57,7 +57,7 @@ public class ModelArtifactHandler extends ArtifactHandler {
     
     // Push the ordered list of model artifacts to A&AI.  If one fails, we need to roll back
     // the changes.
-    List<AbstractModelArtifact> completedModels = new ArrayList<AbstractModelArtifact>();
+    List<AbstractModelArtifact> completedModels = new ArrayList<>();
     AaiRestClient aaiClient = new AaiRestClient(config);
 
     for (Artifact art : sortedModelArtifacts) {