summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authoraishkashyap <as00476394@techmahindra.com>2018-01-12 15:02:57 +0530
committeraishkashyap <as00476394@techmahindra.com>2018-01-12 15:03:08 +0530
commit54ed6615ef6b78e298171ecf960b96697a13e75d (patch)
treec85c1a3e34c22280179d571c116ed37ed6400f8d /src/main
parente8f57313f2d84d8851c7d935413d0e7b20db49a6 (diff)
Sonar Major: Replace the type specification.
Replace the type specification with the diamond operator. Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.model-loader%3Amodel-loader#resolved=false|assigned=false Location: src/main/java/org/onap/aai/modelloader/entity/model/ModelArtifactHandler.java Line No:60 Issue-ID: AAI-643 Change-Id: I231689bbf52153a0c806d8ee267d28fd9e6287f0 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/onap/aai/modelloader/entity/model/ModelArtifactHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/aai/modelloader/entity/model/ModelArtifactHandler.java b/src/main/java/org/onap/aai/modelloader/entity/model/ModelArtifactHandler.java
index 47d93e7..3a5b543 100644
--- a/src/main/java/org/onap/aai/modelloader/entity/model/ModelArtifactHandler.java
+++ b/src/main/java/org/onap/aai/modelloader/entity/model/ModelArtifactHandler.java
@@ -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) {