diff options
author | Sumapriya Sarvepalli <ss00493505@techmahindra.com> | 2018-09-10 12:44:43 +0530 |
---|---|---|
committer | Sumapriya Sarvepalli <ss00493505@techmahindra.com> | 2018-09-10 12:44:43 +0530 |
commit | 0744faefd619e7eddf0aa66ff84aadb205325bf6 (patch) | |
tree | aa723806438d6dc40380c070ca631d33b4c08dfc /src/main/java | |
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>
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/att/dmf/mr/resources/streamReaders/CambriaJsonStreamReader.java | 7 |
1 files changed, 2 insertions, 5 deletions
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 @@ public class CambriaJsonStreamReader implements reader { 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 @@ public class CambriaJsonStreamReader implements reader { * * @param o */ - //public msg(JSONObject o){} + public msg(JSONObject o) { |