From 5dc83ba30d9decc15f6054f35d1218ea54af4abe Mon Sep 17 00:00:00 2001 From: Surendra Reddy Katam Date: Mon, 13 Aug 2018 12:46:57 +0530 Subject: 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 --- .../java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java | 7 +------ 1 file changed, 1 insertion(+), 6 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 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"); -- cgit 1.2.3-korg