summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'vid-app-common/src/main')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/aai/model/ResourceType.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/aai/model/ResourceType.java b/vid-app-common/src/main/java/org/onap/vid/aai/model/ResourceType.java
index 83a3cae1d..4d49b5806 100644
--- a/vid-app-common/src/main/java/org/onap/vid/aai/model/ResourceType.java
+++ b/vid-app-common/src/main/java/org/onap/vid/aai/model/ResourceType.java
@@ -37,7 +37,7 @@ public enum ResourceType {
INSTANCE_GROUP("instance-groups", "instance-group-name"),
VOLUME_GROUP("volume-groups", "volume-group-name");
- private static Map<String, ResourceType> AAI_FORMAT_MAP = Stream
+ private static final Map<String, ResourceType> AAI_FORMAT_MAP = Stream
.of(ResourceType.values())
.collect(Collectors.toMap(s -> s.aaiFormat, Function.identity()));