aboutsummaryrefslogtreecommitdiffstats
path: root/ajsc-aai/src
diff options
context:
space:
mode:
Diffstat (limited to 'ajsc-aai/src')
-rw-r--r--ajsc-aai/src/main/java/org/openecomp/aai/ajsc_aai/filemonitor/ServicePropertiesMap.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/ajsc-aai/src/main/java/org/openecomp/aai/ajsc_aai/filemonitor/ServicePropertiesMap.java b/ajsc-aai/src/main/java/org/openecomp/aai/ajsc_aai/filemonitor/ServicePropertiesMap.java
index 9bfcad0..6273c04 100644
--- a/ajsc-aai/src/main/java/org/openecomp/aai/ajsc_aai/filemonitor/ServicePropertiesMap.java
+++ b/ajsc-aai/src/main/java/org/openecomp/aai/ajsc_aai/filemonitor/ServicePropertiesMap.java
@@ -32,6 +32,9 @@ import org.slf4j.LoggerFactory;
public class ServicePropertiesMap {
+ private ServicePropertiesMap {
+ }
+
private static HashMap<String, HashMap<String, String>> mapOfMaps = new HashMap<>();
private static final Logger logger = LoggerFactory.getLogger(ServicePropertiesMap.class);
@@ -68,7 +71,7 @@ public class ServicePropertiesMap {
prop.load(fis);
@SuppressWarnings("unchecked")
- HashMap<String, String> propMap = new HashMap<String, String>((Map) prop);
+ HashMap<String, String> propMap = new HashMap<>((Map) prop);
mapOfMaps.put(file.getName(), propMap);
}