Sonar major issues 15/60215/1
authorSurendra Reddy Katam <SK00524980@techmahindra.com>
Mon, 13 Aug 2018 07:16:57 +0000 (12:46 +0530)
committerSurendra Reddy Katam <SK00524980@techmahindra.com>
Mon, 13 Aug 2018 07:16:57 +0000 (12:46 +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=AWEpWaiz-08if2a6yEXI&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java
Line No-750

Change-Id: I92e78361839e919776a756fa3280a4d89070b8b9
Issue-ID: DMAAP-587
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java

index 87910cb..63d2271 100644 (file)
@@ -742,12 +742,7 @@ public class MRSimplerBatchPublisher extends MRBaseClient implements MRBatchingP
                        partner = props.getProperty("Partner");
                        routeOffer = props.getProperty("routeOffer");
                        subContextPath = props.getProperty("SubContextPath") + fTopic;
-                       /*
-                        * if(props.getProperty("partition")!=null &&
-                        * !props.getProperty("partition").equalsIgnoreCase("")){
-                        * subContextPath=subContextPath+"?partitionKey="+props.getProperty(
-                        * "partition"); }
-                        */
+                       
                        protocol = props.getProperty("Protocol");
                        methodType = props.getProperty("MethodType");
                        dmeuser = props.getProperty("username");