From 75526f9ac27c59819f7beb71083fba1428788ebe Mon Sep 17 00:00:00 2001 From: Surendra Reddy Katam Date: Thu, 10 Jan 2019 16:17:35 +0530 Subject: Sonar majior issues This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AV5hThET32hFUzlqeS5P&resolved=false&severities=MAJOR Location: src/main/java/org/onap/dmaap/util/ContentLengthInterceptor.java Line No-L46 L90 Change-Id: Icf880cd23378bd14b2a9139a88d264716e2be361 Issue-ID: DMAAP-958 Signed-off-by: Surendra Reddy Katam --- src/main/java/org/onap/dmaap/util/ContentLengthInterceptor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main') diff --git a/src/main/java/org/onap/dmaap/util/ContentLengthInterceptor.java b/src/main/java/org/onap/dmaap/util/ContentLengthInterceptor.java index b03eb5b..903fa96 100644 --- a/src/main/java/org/onap/dmaap/util/ContentLengthInterceptor.java +++ b/src/main/java/org/onap/dmaap/util/ContentLengthInterceptor.java @@ -43,7 +43,7 @@ public class ContentLengthInterceptor implements AjscInterceptor{ private String defLength; - //private Logger log = Logger.getLogger(ContentLengthInterceptor.class.toString()); + private static final EELFLogger log = EELFManager.getInstance().getLogger(ContentLengthInterceptor.class); @@ -87,7 +87,7 @@ public class ContentLengthInterceptor implements AjscInterceptor{ } else { - //chain.doFilter(req, res); + return true; } -- cgit 1.2.3-korg