Sonar major issues 37/64637/1
authorSumapriya Sarvepalli <ss00493505@techmahindra.com>
Wed, 5 Sep 2018 07:21:24 +0000 (12:51 +0530)
committerSumapriya Sarvepalli <ss00493505@techmahindra.com>
Wed, 5 Sep 2018 07:21:24 +0000 (12:51 +0530)
 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>
src/main/java/com/att/mr/filter/ContentLengthFilter.java

index b99f9e6..26f58e0 100644 (file)
@@ -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);
+                       
                }
 
        }