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 <ss00493505@techmahindra.com>
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 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 void sendMessages ( String topic, List<? extends message> msgs ) throws IOException;
- //public void sendBatchMessage(String topic ,ArrayList<KeyedMessage<String,String>> kms) throws IOException;
public void sendBatchMessageNew(String topic ,ArrayList<ProducerRecord<String,String>> kms) throws IOException;
public void sendMessagesNew( String topic, List<? extends message> msgs ) throws IOException;
}