commit | 5dc83ba30d9decc15f6054f35d1218ea54af4abe | [log] [tgz] |
---|---|---|
author | Surendra Reddy Katam <SK00524980@techmahindra.com> | Mon Aug 13 12:46:57 2018 +0530 |
committer | Surendra Reddy Katam <SK00524980@techmahindra.com> | Mon Aug 13 12:46:57 2018 +0530 |
tree | 5b365230aa9432182f2a999564f5e2c10def8883 | |
parent | d90a176884a1fc51812226b200e92ed9bd4ec7cf [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=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>
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 @@ 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");