aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authorChandan Ghosh <cghosh12@in.ibm.com>2018-08-28 15:07:16 +0530
committerChandan Ghosh <cghosh12@in.ibm.com>2018-08-29 12:13:55 +0530
commit92c6bcf7ffd0769db7821d6206d8bc0c88ffa7fe (patch)
tree8e4d87d5060ac9c457f36106906e7cd2e4395400 /src/main/java/org
parentc79755d43c123176515e5cafbba0774a03d297d3 (diff)
Added bug fix reported in SonarQube for MusicUtil
Added bug fix reported in SonarQube for MusicUtil Issue-ID: MUSIC-107 Change-Id: I6792a357505880fb85d353e3872b16aca2412c8b Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
Diffstat (limited to 'src/main/java/org')
-rwxr-xr-xsrc/main/java/org/onap/music/main/MusicUtil.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/onap/music/main/MusicUtil.java b/src/main/java/org/onap/music/main/MusicUtil.java
index 5b23a935..cfad845d 100755
--- a/src/main/java/org/onap/music/main/MusicUtil.java
+++ b/src/main/java/org/onap/music/main/MusicUtil.java
@@ -101,7 +101,7 @@ public class MusicUtil {
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");
@@ -599,7 +599,7 @@ public class MusicUtil {
try {
input.close();
} catch (IOException e) {
- e.printStackTrace();
+ logger.error(EELFLoggerDelegate.applicationLogger,"Load properties failed "+e.getMessage(),e);
}
}
}