diff options
Diffstat (limited to 'music-rest/src/main')
-rw-r--r-- | music-rest/src/main/java/org/onap/music/main/PropertiesLoader.java | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/music-rest/src/main/java/org/onap/music/main/PropertiesLoader.java b/music-rest/src/main/java/org/onap/music/main/PropertiesLoader.java index 8aac2672..7ef36f23 100644 --- a/music-rest/src/main/java/org/onap/music/main/PropertiesLoader.java +++ b/music-rest/src/main/java/org/onap/music/main/PropertiesLoader.java @@ -38,10 +38,7 @@ public class PropertiesLoader implements InitializingBean { @Value("${cassandra.host}") public String cassandraHost; -/* - @Value("${music.ip}") - public String musicIp; -*/ + @Value("${debug}") public String debug; @@ -105,11 +102,12 @@ public class PropertiesLoader implements InitializingBean { @Value("${cipher.enc.key}") private String cipherEncKey; - private static EELFLoggerDelegate logger = EELFLoggerDelegate.getLogger(PropertiesLoader.class); + @SuppressWarnings("unused") + private static EELFLoggerDelegate logger = EELFLoggerDelegate.getLogger(PropertiesLoader.class); @Bean public static PropertySourcesPlaceholderConfigurer propertyConfigInDev() { - //return new PropertySourcesPlaceholderConfigurer(); + PropertySourcesPlaceholderConfigurer pspc = new PropertySourcesPlaceholderConfigurer(); pspc.setIgnoreResourceNotFound(true); pspc.setIgnoreUnresolvablePlaceholders(true); |