diff options
Diffstat (limited to 'src')
-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); |