diff options
author | Steven Blimkie <Steven.Blimkie@amdocs.com> | 2018-01-17 14:30:30 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-01-17 14:30:30 +0000 |
commit | 8600ac5f2830edc1f1c549c70808226ac84186ef (patch) | |
tree | 773f5a072d5e3a00b972d90807c3ce3c4bcd1a93 | |
parent | 221c7774685f8073d176cef6c9d88623d445c183 (diff) | |
parent | 57eeee82bf5dcd9e81a3af15febb6053508889fe (diff) |
Merge "Sonar Major:Replace the type specification."
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/entity/model/ModelSorter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/onap/aai/modelloader/entity/model/ModelSorter.java b/src/main/java/org/onap/aai/modelloader/entity/model/ModelSorter.java index 825cbcb..6838719 100644 --- a/src/main/java/org/onap/aai/modelloader/entity/model/ModelSorter.java +++ b/src/main/java/org/onap/aai/modelloader/entity/model/ModelSorter.java @@ -1,4 +1,4 @@ -/** + /** * ============LICENSE_START======================================================= * org.onap.aai * ================================================================================ @@ -133,7 +133,7 @@ public class ModelSorter { // load list of models into a map, so we can later replace referenceIds with // real Models - HashMap<String, AbstractModelArtifact> versionIdToModelMap = new HashMap<String, AbstractModelArtifact>(); + HashMap<String, AbstractModelArtifact> versionIdToModelMap = new HashMap<>(); for (Artifact art : models) { AbstractModelArtifact ma = (AbstractModelArtifact) art; versionIdToModelMap.put(ma.getUniqueIdentifier(), ma); |