diff options
author | 2018-08-13 12:33:28 +0530 | |
---|---|---|
committer | 2018-08-13 12:33:28 +0530 | |
commit | d90a176884a1fc51812226b200e92ed9bd4ec7cf (patch) | |
tree | 619bba9b2ceb88d06d3dd07d24c45ebba154813c /src/main/java/com | |
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>
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java | 6 |
1 files changed, 1 insertions, 5 deletions
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 @@ public class MRSimplerBatchPublisher extends MRBaseClient implements MRBatchingP 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"); |