From 1e2a61e36c42c97e42baae743f5370a93582c16b Mon Sep 17 00:00:00 2001 From: manisha07 Date: Fri, 4 Oct 2019 15:51:42 +0530 Subject: [PATCH] Remove this unused logger private field Issue-ID: MUSIC-523 Change-Id: Idabaaf20bfb243598db30a6985eedb411b2cd2b7 Signed-off-by: manisha07 --- .../src/main/java/org/onap/music/main/PropertiesLoader.java | 10 ++++------ 1 file 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); -- 2.16.6