From 4c8512b6e1166a0e1c008e79dc4a0db8cd277d21 Mon Sep 17 00:00:00 2001 From: aishkashyap Date: Fri, 12 Jan 2018 17:58:10 +0530 Subject: 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|assignees=aishkashyap Location: src/main/java/org/onap/aai/modelloader/entity/model/AbstractModelArtifact.java Line No:39 Issue-ID: AAI-646 Change-Id: I704dfd58340402982f4063e94e80b58ff158c8da Signed-off-by: aishkashyap --- .../org/onap/aai/modelloader/entity/model/AbstractModelArtifact.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/org/onap/aai/modelloader/entity/model/AbstractModelArtifact.java b/src/main/java/org/onap/aai/modelloader/entity/model/AbstractModelArtifact.java index a942cf6..4571345 100644 --- a/src/main/java/org/onap/aai/modelloader/entity/model/AbstractModelArtifact.java +++ b/src/main/java/org/onap/aai/modelloader/entity/model/AbstractModelArtifact.java @@ -36,7 +36,7 @@ public abstract class AbstractModelArtifact extends Artifact { private String modelNamespace; private String modelNamespaceVersion; - private Set referencedModelIds = new HashSet(); + private Set referencedModelIds = new HashSet<>(); public AbstractModelArtifact(ArtifactType type) { super(type); -- cgit 1.2.3-korg