aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/att/nsa/mr/client
diff options
context:
space:
mode:
authorSurendra Reddy Katam <SK00524980@techmahindra.com>2018-08-10 12:40:10 +0530
committerSurendra Reddy Katam <SK00524980@techmahindra.com>2018-08-10 12:40:10 +0530
commit9604f9e97d2fde33ebca210e5ae7fabc32abf92f (patch)
treede243ab7029827e638cb099e72cbde2e3578aaa1 /src/main/java/com/att/nsa/mr/client
parentec9c4e988f7f0090575d9e3600e479e412dfd676 (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=AV4-MbQH32hFUzlqc5YO&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRBaseClient.java Line No-330 Change-Id: Ide8bc7472363646d5f73d8ae94f1d3b7ce3a1865 Issue-ID: DMAAP-576 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
Diffstat (limited to 'src/main/java/com/att/nsa/mr/client')
-rw-r--r--src/main/java/com/att/nsa/mr/client/impl/MRBaseClient.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/com/att/nsa/mr/client/impl/MRBaseClient.java b/src/main/java/com/att/nsa/mr/client/impl/MRBaseClient.java
index 9f2acc2..fb49096 100644
--- a/src/main/java/com/att/nsa/mr/client/impl/MRBaseClient.java
+++ b/src/main/java/com/att/nsa/mr/client/impl/MRBaseClient.java
@@ -94,7 +94,7 @@ public class MRBaseClient extends HttpClient implements MRClient {
private Logger fLog;
public JSONObject post(final String path, final byte[] data, final String contentType, final String username,
- final String password, final String protocolFlag) throws HttpException, JSONException {
+ final String password, final String protocalFlag) throws HttpException, JSONException {
if ((null != username && null != password)) {
WebTarget target=null;
Response response=null;
@@ -327,7 +327,6 @@ public class MRBaseClient extends HttpClient implements MRClient {
// MultivaluedMap<String, Object> headersMap =
- // response.getHeaders();
// for(String key : headersMap.keySet()) {
String transactionid = response.getHeaderString("transactionid");
if (transactionid != null && !transactionid.equalsIgnoreCase("")) {