Map<String, String> getEffectiveConfig() throws IOException { if (effectiveConfig == null) { effectiveConfig = new HashMap<>(conf); Properties p = loadPropertiesFile(); for (String key : p.stringPropertyNames()) { if (!effectiveConfig.containsKey(key)) { effectiveConfig.put(key, p.getProperty(key)); } } } return effectiveConfig; }
Map<String, String> getEffectiveConfig() throws IOException { if (effectiveConfig == null) { effectiveConfig = new HashMap<>(conf); Properties p = loadPropertiesFile(); for (String key : p.stringPropertyNames()) { if (!effectiveConfig.containsKey(key)) { effectiveConfig.put(key, p.getProperty(key)); } } } return effectiveConfig; }
Map<String, String> getEffectiveConfig() throws IOException { if (effectiveConfig == null) { effectiveConfig = new HashMap<>(conf); Properties p = loadPropertiesFile(); for (String key : p.stringPropertyNames()) { if (!effectiveConfig.containsKey(key)) { effectiveConfig.put(key, p.getProperty(key)); } } } return effectiveConfig; }
Map<String, String> getEffectiveConfig() throws IOException { if (effectiveConfig == null) { effectiveConfig = new HashMap<>(conf); Properties p = loadPropertiesFile(); for (String key : p.stringPropertyNames()) { if (!effectiveConfig.containsKey(key)) { effectiveConfig.put(key, p.getProperty(key)); } } } return effectiveConfig; }