summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap
diff options
context:
space:
mode:
authorSteven Blimkie <Steven.Blimkie@amdocs.com>2018-01-17 14:31:32 +0000
committerGerrit Code Review <gerrit@onap.org>2018-01-17 14:31:32 +0000
commitaf9789d15bbaa83a21021dc5bcf749c44a8a6a80 (patch)
tree130be65edc267ccbd6f1fed1afc3efc9e0155c8a /src/main/java/org/onap
parent8600ac5f2830edc1f1c549c70808226ac84186ef (diff)
parent7ee6eebff636499e15314dbd1e6761289cd36f6a (diff)
Merge "Sonar Major:Replace with the diamond operator ."
Diffstat (limited to 'src/main/java/org/onap')
-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();