diff options
author | Bharath Balasubramanian <bharathb@research.att.com> | 2018-09-05 23:06:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-09-05 23:06:45 +0000 |
commit | caf9e81ff1b830312681a58b5a752e13ee3d04eb (patch) | |
tree | 9e477294a719f715b1c02e2145366e5675c7537f | |
parent | 99c6296cf2faeea3d7b04d6cc696367729cef88a (diff) | |
parent | 92c6bcf7ffd0769db7821d6206d8bc0c88ffa7fe (diff) |
Merge "Added bug fix reported in SonarQube for MusicUtil"
-rwxr-xr-x | src/main/java/org/onap/music/main/MusicUtil.java | 4 |
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); } } } |