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 <as00476394@techmahindra.com>
private String modelNamespace;
private String modelNamespaceVersion;
- private Set<String> referencedModelIds = new HashSet<String>();
+ private Set<String> referencedModelIds = new HashSet<>();
public AbstractModelArtifact(ArtifactType type) {
super(type);