summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoraishkashyap <as00476394@techmahindra.com>2018-01-15 12:52:24 +0530
committeraishkashyap <as00476394@techmahindra.com>2018-01-15 12:52:30 +0530
commit7ee6eebff636499e15314dbd1e6761289cd36f6a (patch)
tree1281d4872f014af578b92609b3c1731551d8162d /src
parente8f57313f2d84d8851c7d935413d0e7b20db49a6 (diff)
Sonar Major:Replace with the diamond operator .
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#assignees=__me__|resolved=false Location: src/main/java/org/onap/aai/modelloader/entity/model/ModelV8ArtifactParser.java Line No:57 Issue-ID: AAI-654 Change-Id: I07f671f845a535a542c0742b26ed085bc9f3db67 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/onap/aai/modelloader/entity/model/ModelV8ArtifactParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/aai/modelloader/entity/model/ModelV8ArtifactParser.java b/src/main/java/org/onap/aai/modelloader/entity/model/ModelV8ArtifactParser.java
index 1e90a04..69aabf0 100644
--- a/src/main/java/org/onap/aai/modelloader/entity/model/ModelV8ArtifactParser.java
+++ b/src/main/java/org/onap/aai/modelloader/entity/model/ModelV8ArtifactParser.java
@@ -54,7 +54,7 @@ public class ModelV8ArtifactParser implements IModelParser {
public List<Artifact> parse(byte[] artifactPayload, String artifactName) {
String payload = new String(artifactPayload);
- List<Artifact> modelList = new ArrayList<Artifact>();
+ List<Artifact> modelList = new ArrayList<>();
try {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();