summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSurendra Reddy Katam <SK00524980@techmahindra.com>2018-09-24 14:33:16 +0530
committerSurendra Reddy Katam <SK00524980@techmahindra.com>2018-09-24 14:33:16 +0530
commita759f919b452d439cbad4ba73f053df30b2d61f9 (patch)
treeb9054aebef7fbd9358af115a72daab361adf56be
parenta35521d1390b109e754aaab5b2d45d427a070165 (diff)
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 <SK00524980@techmahindra.com>
-rw-r--r--src/main/java/com/att/dmf/mr/resources/CambriaOutboundEventStream.java6
1 files changed, 3 insertions, 3 deletions
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('[');