From a759f919b452d439cbad4ba73f053df30b2d61f9 Mon Sep 17 00:00:00 2001 From: Surendra Reddy Katam Date: Mon, 24 Sep 2018 14:33:16 +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=AWX77U9WligbnTmNJMpE&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/resources/CambriaOutboundEventStream.java Line No- L108 L175 L267 Change-Id: I00d8d5f74ee9ba2aef6701f778de87095a1cc593 Issue-ID: DMAAP-819 Signed-off-by: Surendra Reddy Katam --- .../java/com/att/dmf/mr/resources/CambriaOutboundEventStream.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/com/att/dmf') 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 97d1fa5..0c7f8bc 100644 --- a/src/main/java/com/att/dmf/mr/resources/CambriaOutboundEventStream.java +++ b/src/main/java/com/att/dmf/mr/resources/CambriaOutboundEventStream.java @@ -105,7 +105,7 @@ public class CambriaOutboundEventStream implements StreamWriter { fPretty = false; fWithMeta = false; - // fOffset = CambriaEvents.kNextOffset; + } /** @@ -172,7 +172,7 @@ public class CambriaOutboundEventStream implements StreamWriter { // public Builder atOffset ( int pos ) - // fOffset = pos; + // return this; // } /** @@ -264,7 +264,7 @@ public class CambriaOutboundEventStream implements StreamWriter { */ public void write(final OutputStream os) throws IOException { - // final boolean transactionEnabled = isTransEnabled(); + // final boolean transactionEnabled = istransEnable; // synchronized(this){ os.write('['); -- cgit 1.2.3-korg