From 6cec2fdd8c296655122dc25294840d777de59614 Mon Sep 17 00:00:00 2001 From: talig Date: Tue, 26 Dec 2017 09:22:12 +0200 Subject: Add Item Manager and Dao impl unit tests Change-Id: I30df90a7ca543195d286f322e8bfa52ffabca849 Issue-ID: SDC-779 Signed-off-by: talig --- .../src/main/java/org/openecomp/sdc/versioning/types/Item.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openecomp-be/lib/openecomp-sdc-versioning-lib/openecomp-sdc-versioning-api/src') diff --git a/openecomp-be/lib/openecomp-sdc-versioning-lib/openecomp-sdc-versioning-api/src/main/java/org/openecomp/sdc/versioning/types/Item.java b/openecomp-be/lib/openecomp-sdc-versioning-lib/openecomp-sdc-versioning-api/src/main/java/org/openecomp/sdc/versioning/types/Item.java index 329ac52133..2a95c05f49 100644 --- a/openecomp-be/lib/openecomp-sdc-versioning-lib/openecomp-sdc-versioning-api/src/main/java/org/openecomp/sdc/versioning/types/Item.java +++ b/openecomp-be/lib/openecomp-sdc-versioning-lib/openecomp-sdc-versioning-api/src/main/java/org/openecomp/sdc/versioning/types/Item.java @@ -3,6 +3,7 @@ package org.openecomp.sdc.versioning.types; import org.openecomp.sdc.versioning.dao.types.VersionStatus; import java.util.Date; +import java.util.EnumMap; import java.util.HashMap; import java.util.Map; @@ -12,7 +13,7 @@ public class Item { private String name; private String description; private Map properties = new HashMap<>(); - private Map versionStatusCounters = new HashMap<>(); + private Map versionStatusCounters = new EnumMap<>(VersionStatus.class); private Date creationTime; private Date modificationTime; -- cgit 1.2.3-korg ter'>master This repository is for a reference vnf repositoryGrokmirror user
summaryrefslogtreecommitdiffstats
blob: 526461778e72c9feaec62a3610b123562b562c23 (plain)
1
2
3
4