From: Surendra Reddy Katam Date: Mon, 13 Aug 2018 07:16:57 +0000 (+0530) Subject: Sonar major issues X-Git-Tag: 1.1.7~19 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=5dc83ba30d9decc15f6054f35d1218ea54af4abe;p=dmaap%2Fmessagerouter%2Fdmaapclient.git 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=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 --- 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 87910cb..63d2271 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 @@ -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");