diff options
author | aishkashyap <as00476394@techmahindra.com> | 2018-01-12 17:58:10 +0530 |
---|---|---|
committer | aishkashyap <as00476394@techmahindra.com> | 2018-01-12 17:58:17 +0530 |
commit | 4c8512b6e1166a0e1c008e79dc4a0db8cd277d21 (patch) | |
tree | 6dd798d2a52099b18d487dae1bed3f930c2f4cc4 /src/main/java/org | |
parent | e8f57313f2d84d8851c7d935413d0e7b20db49a6 (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|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>
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/entity/model/AbstractModelArtifact.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<String> referencedModelIds = new HashSet<String>(); + private Set<String> referencedModelIds = new HashSet<>(); public AbstractModelArtifact(ArtifactType type) { super(type); |