From: manisha07 Date: Fri, 4 Oct 2019 10:21:42 +0000 (+0530) Subject: Remove this unused logger private field X-Git-Tag: 3.2.38~42^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=music.git;a=commitdiff_plain;h=1e2a61e36c42c97e42baae743f5370a93582c16b Remove this unused logger private field Issue-ID: MUSIC-523 Change-Id: Idabaaf20bfb243598db30a6985eedb411b2cd2b7 Signed-off-by: manisha07 --- 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);