commit | 0744faefd619e7eddf0aa66ff84aadb205325bf6 | [log] [tgz] |
---|---|---|
author | Sumapriya Sarvepalli <ss00493505@techmahindra.com> | Mon Sep 10 12:44:43 2018 +0530 |
committer | Sumapriya Sarvepalli <ss00493505@techmahindra.com> | Mon Sep 10 12:44:43 2018 +0530 |
tree | aa723806438d6dc40380c070ca631d33b4c08dfc | |
parent | 7c81daeacfeb6dc44e22c97eca36313aa7ddb555 [diff] |
Sonar major issues This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AV4-Vahb32hFUzlqc5t-&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/resources/streamReaders/CambriaJsonStreamReader.java Line No:L84 L128 Change-Id: I013247ca962a79490cc458a6cac6427612de54f3 Issue-ID: DMAAP-755 Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
diff --git a/src/main/java/com/att/dmf/mr/resources/streamReaders/CambriaJsonStreamReader.java b/src/main/java/com/att/dmf/mr/resources/streamReaders/CambriaJsonStreamReader.java index 98ddb50..7a67c92 100644 --- a/src/main/java/com/att/dmf/mr/resources/streamReaders/CambriaJsonStreamReader.java +++ b/src/main/java/com/att/dmf/mr/resources/streamReaders/CambriaJsonStreamReader.java
@@ -81,10 +81,7 @@ final int c = fTokens.next(); - /*if (c ==','){ - fCloseCount++; - System.out.println("fCloseCount=" + fCloseCount +" fCount "+fCount); - }*/ + if (fIsList) { if (c == ']' || (fCount > 0 && c == 10)) return null; @@ -125,7 +122,7 @@ * * @param o */ - //public msg(JSONObject o){} + public msg(JSONObject o) {