Sonar Major issues 39/61039/1
authorSumapriya Sarvepalli <ss00493505@techmahindra.com>
Fri, 17 Aug 2018 06:52:41 +0000 (12:22 +0530)
committerSS00493505 <ss00493505@techmahindra.com>
Fri, 17 Aug 2018 07:14:19 +0000 (12:44 +0530)
 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>
src/main/java/com/att/dmf/mr/backends/Publisher.java

index 8ff6ce9..25022e2 100644 (file)
@@ -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<? 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;
 }