From: Sumapriya Sarvepalli Date: Fri, 17 Aug 2018 06:52:41 +0000 (+0530) Subject: Sonar Major issues X-Git-Tag: 1.1.6~7 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=ad99b28f0481a49a9f58e1ac2d03b47d9cd4e0af;p=dmaap%2Fmessagerouter%2Fmsgrtr.git 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=AWU41WkSwGn37JfbyHyc&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/backends/Publisher.java Line No:L32 L98 Issue-ID: DMAAP-609 Change-Id: I73b5ac924bc51386a88caac7df23ebb8aaa31eb1 Signed-off-by: Sumapriya Sarvepalli --- diff --git a/src/main/java/com/att/dmf/mr/backends/Publisher.java b/src/main/java/com/att/dmf/mr/backends/Publisher.java index 8ff6ce9..25022e2 100644 --- a/src/main/java/com/att/dmf/mr/backends/Publisher.java +++ b/src/main/java/com/att/dmf/mr/backends/Publisher.java @@ -29,7 +29,6 @@ import org.apache.kafka.clients.producer.ProducerRecord; import com.att.dmf.mr.beans.LogDetails; -//import kafka.producer.KeyedMessage; /** * A publisher interface. Publishers receive messages and post them to a topic. * @author peter @@ -95,7 +94,6 @@ public interface Publisher */ public void sendMessages ( String topic, List msgs ) throws IOException; - //public void sendBatchMessage(String topic ,ArrayList> kms) throws IOException; public void sendBatchMessageNew(String topic ,ArrayList> kms) throws IOException; public void sendMessagesNew( String topic, List msgs ) throws IOException; }