summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThomas Nelson <nelson24@att.com>2019-01-25 16:52:50 +0000
committerGerrit Code Review <gerrit@onap.org>2019-01-25 16:52:50 +0000
commit29ab308002a02d6225b893b8305c808c91639707 (patch)
tree5311fa2e42187faa49cd921d59b206b6865edd62 /src
parent29056ff8d72d4f50073f6993ee6bd1b7ee7caf91 (diff)
parent5ab175f66c42ab1b9a476bd2c88abadc289553ad (diff)
Merge "Sonar Fixes - MusicHealthCheck.java"
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/onap/music/eelf/healthcheck/MusicHealthCheck.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/onap/music/eelf/healthcheck/MusicHealthCheck.java b/src/main/java/org/onap/music/eelf/healthcheck/MusicHealthCheck.java
index af6e6151..837e37c2 100644
--- a/src/main/java/org/onap/music/eelf/healthcheck/MusicHealthCheck.java
+++ b/src/main/java/org/onap/music/eelf/healthcheck/MusicHealthCheck.java
@@ -87,7 +87,7 @@ public class MusicHealthCheck {
pQuery.appendQueryString("insert into admin.healthcheck (id) values (?)");
pQuery.addValue(UUID.randomUUID());
ResultType rs = MusicCore.nonKeyRelatedPut(pQuery, consistency);
- System.out.println(rs);
+ logger.info(rs.toString());
if (rs != null) {
return Boolean.TRUE;
} else {
@@ -119,7 +119,7 @@ public class MusicHealthCheck {
String host = MusicUtil.getMyZkHost();
logger.info(EELFLoggerDelegate.applicationLogger, "Getting Status for Zookeeper Host: " + host);
try {
- MusicLockingService lockingService = MusicCore.getLockingServiceHandle();
+ MusicCore.getLockingServiceHandle();
// additionally need to call the ZK to create,aquire and delete lock
} catch (MusicLockingException e) {
logger.error(EELFLoggerDelegate.errorLogger, e.getMessage(), AppMessages.LOCKINGERROR,