diff options
author | Sumapriya Sarvepalli <ss00493505@techmahindra.com> | 2018-09-05 12:51:24 +0530 |
---|---|---|
committer | Sumapriya Sarvepalli <ss00493505@techmahindra.com> | 2018-09-05 12:51:24 +0530 |
commit | 4e9abab3157b060c12aacb7074100610e2fc3105 (patch) | |
tree | 7e7be8ac8ec29417e9711896cf960e72aecfa536 | |
parent | f8e20ceabe9e3f8656aa5bffaa0b79b08d589ba6 (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-VanG32hFUzlqc51m&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/mr/filter/ContentLengthFilter.java
Line No:L55 L113
Change-Id: I254a2d30becbf2cbd337c29c49ce35dfb04005fc
Issue-ID: DMAAP-725
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
-rw-r--r-- | src/main/java/com/att/mr/filter/ContentLengthFilter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/att/mr/filter/ContentLengthFilter.java b/src/main/java/com/att/mr/filter/ContentLengthFilter.java index b99f9e6..26f58e0 100644 --- a/src/main/java/com/att/mr/filter/ContentLengthFilter.java +++ b/src/main/java/com/att/mr/filter/ContentLengthFilter.java @@ -52,7 +52,7 @@ public class ContentLengthFilter implements Filter { private FilterConfig filterConfig = null; DMaaPErrorMessages errorMessages = null; - //private Logger log = Logger.getLogger(ContentLengthFilter.class.toString()); + private static final EELFLogger log = EELFManager.getInstance().getLogger(ContentLengthFilter.class); /** * Default constructor. @@ -110,7 +110,7 @@ public class ContentLengthFilter implements Filter { DMaaPResponseCode.MSG_SIZE_EXCEEDS_MSG_LIMIT.getResponseCode(), errorMessages.getMsgSizeExceeds() + jsonObj.toString()); log.info(errRes.toString()); - // throw new CambriaApiException(errRes); + } } |