diff options
author | Surendra Reddy Katam <SK00524980@techmahindra.com> | 2018-08-09 13:10:41 +0530 |
---|---|---|
committer | Surendra Reddy Katam <SK00524980@techmahindra.com> | 2018-08-09 13:10:41 +0530 |
commit | 68ccd6b7ec9feade607802925d5c00b1ac141605 (patch) | |
tree | 3bf77a08cc6da05c24308e0aa157f07f8614e8d3 /src/main/java/com/att | |
parent | 39f80cabccf8a33c22c66a10c583cdbbb9d6e95f (diff) |
Sonar major issues
This block of commented-out lines of code should be removed
SonarLink:
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-338
Change-Id: I3504b07bb4bf281477000dfee48d4a7b00c23833
Issue-ID: DMAAP-572
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
Diffstat (limited to 'src/main/java/com/att')
-rw-r--r-- | src/main/java/com/att/nsa/mr/client/impl/MRBaseClient.java | 11 |
1 files changed, 0 insertions, 11 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 67c214e..9f2acc2 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 @@ -334,17 +334,6 @@ public class MRBaseClient extends HttpClient implements MRClient { fLog.info("TransactionId : " + transactionid); } - /* - * final String responseData = response.readEntity(String.class); - * JSONTokener jsonTokener = new JSONTokener(responseData); - * JSONObject jsonObject = null; final char firstChar = - * jsonTokener.next(); jsonTokener.back(); if ('[' == firstChar) { - * JSONArray jsonArray = new JSONArray(jsonTokener); jsonObject = - * new JSONObject(); jsonObject.put("result", jsonArray); } else { - * jsonObject = new JSONObject(jsonTokener); } - * - * return jsonObject; - */ if (response.getStatus() == 403) { JSONObject jsonObject = null; |