commit | d90a176884a1fc51812226b200e92ed9bd4ec7cf | [log] [tgz] |
---|---|---|
author | Surendra Reddy Katam <SK00524980@techmahindra.com> | Mon Aug 13 12:33:28 2018 +0530 |
committer | Surendra Reddy Katam <SK00524980@techmahindra.com> | Mon Aug 13 12:33:28 2018 +0530 |
tree | 619bba9b2ceb88d06d3dd07d24c45ebba154813c | |
parent | f3224e324475daf52505668d21ba26f4f65543a6 [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.dmaapclient%3AdmaapClient&open=AWE8fZBk-08if2a6yLVv&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java Line No-301 Change-Id: Iacbd0033271e8ce5391d3f06ad50c160a5f24cb3 Issue-ID: DMAAP-586 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
diff --git a/src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java b/src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java index 062da8b..87910cb 100644 --- a/src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java +++ b/src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java
@@ -296,11 +296,7 @@ props.getProperty("partition")); try { - /* - * final String contentType = fCompress ? - * MRFormat.CAMBRIA_ZIP.toString () : MRFormat.CAMBRIA.toString () ; - */ - + final ByteArrayOutputStream baseStream = new ByteArrayOutputStream(); OutputStream os = baseStream; final String contentType = props.getProperty("contenttype");