Added bug fix reported in SonarQube for MusicUtil
Issue-ID: MUSIC-107
Change-Id: I6792a357505880fb85d353e3872b16aca2412c8b
Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
private static String cassName = "cassandra";
private static String cassPwd;
private static String aafEndpointUrl = null;
- public static ConcurrentMap<String, Long> zkNodeMap = new ConcurrentHashMap<>();
+ public static final ConcurrentMap<String, Long> zkNodeMap = new ConcurrentHashMap<>();
private MusicUtil() {
throw new IllegalStateException("Utility Class");
try {
input.close();
} catch (IOException e) {
- e.printStackTrace();
+ logger.error(EELFLoggerDelegate.applicationLogger,"Load properties failed "+e.getMessage(),e);
}
}
}