From d1eb3b36d9aabe6a754f4d36e6be53ce0cc31848 Mon Sep 17 00:00:00 2001 From: Sumapriya Sarvepalli Date: Thu, 20 Sep 2018 18:16:43 +0530 Subject: Sonar major issues This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AWU41WlEwGn37JfbyH1c&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/backends/kafka/LockInstructionWatcher.java Line No:L72 Change-Id: I10bca0095845399938257b42909ef2ab1a88b3b6 Issue-ID: DMAAP-810 Signed-off-by: Sumapriya Sarvepalli --- src/main/java/com/att/dmf/mr/backends/kafka/LockInstructionWatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/att/dmf/mr/backends') diff --git a/src/main/java/com/att/dmf/mr/backends/kafka/LockInstructionWatcher.java b/src/main/java/com/att/dmf/mr/backends/kafka/LockInstructionWatcher.java index 5d3bc47..cc3338b 100644 --- a/src/main/java/com/att/dmf/mr/backends/kafka/LockInstructionWatcher.java +++ b/src/main/java/com/att/dmf/mr/backends/kafka/LockInstructionWatcher.java @@ -69,7 +69,7 @@ public class LockInstructionWatcher implements Watcher { try { log.info("node children changed at path: {}", event.getPath()); - //String grpName = new String(curatorFramework.getData().forPath(event.getPath())); + List children = curatorFramework.getChildren().forPath(event.getPath()); log.info("found children nodes prodcessing now"); -- cgit 1.2.3-korg