Sonar major issues 11/60211/1
authorSurendra Reddy Katam <SK00524980@techmahindra.com>
Mon, 13 Aug 2018 07:03:28 +0000 (12:33 +0530)
committerSurendra Reddy Katam <SK00524980@techmahindra.com>
Mon, 13 Aug 2018 07:03:28 +0000 (12:33 +0530)
 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>
src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java

index 062da8b..87910cb 100644 (file)
@@ -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");