From 0c6830de3dce50a97b576e62af0d44f1ae068d45 Mon Sep 17 00:00:00 2001 From: Surendra Reddy Katam Date: Tue, 18 Sep 2018 17:51:13 +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=surendraReddy&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AWU41WgPwGn37JfbyHtK&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/resources/CambriaOutboundEventStream.java Line No-L48 L91 L100 L107 Change-Id: Ic73990ff2a9a85fee7c15b21694a42b9aece2d31 Issue-ID: DMAAP-788 Signed-off-by: Surendra Reddy Katam --- .../java/com/att/dmf/mr/resources/CambriaOutboundEventStream.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/java/com/att') diff --git a/src/main/java/com/att/dmf/mr/resources/CambriaOutboundEventStream.java b/src/main/java/com/att/dmf/mr/resources/CambriaOutboundEventStream.java index 837c956..cde7720 100644 --- a/src/main/java/com/att/dmf/mr/resources/CambriaOutboundEventStream.java +++ b/src/main/java/com/att/dmf/mr/resources/CambriaOutboundEventStream.java @@ -45,7 +45,7 @@ import com.att.dmf.mr.utils.DMaaPResponseBuilder.StreamWriter; import com.att.dmf.mr.utils.Utils; import com.att.eelf.configuration.EELFLogger; import com.att.eelf.configuration.EELFManager; -//import com.att.nsa.drumlin.till.nv.rrNvReadable; + /*import com.att.sa.highlandPark.config.HpConfigContext; import com.att.sa.highlandPark.config.HpReaderException; import com.att.sa.highlandPark.events.HpJsonEvent; @@ -88,7 +88,7 @@ public class CambriaOutboundEventStream implements StreamWriter { private boolean fWithMeta; ArrayList fKafkaConsumerList; - // private int fOffset; + /** * constructor it initializes all the consumer parameters * @@ -97,14 +97,14 @@ public class CambriaOutboundEventStream implements StreamWriter { */ public Builder(Consumer c) { this.fConsumer = c; - // this.fSettings = settings; + fLimit = CambriaConstants.kNoTimeout; fTimeoutMs = CambriaConstants.kNoLimit; fTopicFilter = CambriaConstants.kNoFilter; fPretty = false; fWithMeta = false; - //this.fKafkaConsumerList = consList; + // fOffset = CambriaEvents.kNextOffset; } -- cgit 1.2.3-korg