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-Vaeo32hFUzlqc5rQ&resolved=false&rules=squid%3ACommentedOutCodeLine&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/exception/DMaaPWebExceptionMapper.java
Line No:L38 L55
Change-Id: Iebc8f526462c5a73fa43aade08558f456a24e7e8
Issue-ID: DMAAP-664
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
import javax.ws.rs.ext.Provider;
import org.apache.http.HttpStatus;
-//import org.apache.log-4j.Logger;
+
import org.springframework.beans.factory.annotation.Autowired;
import com.att.eelf.configuration.EELFLogger;
@Singleton
public class DMaaPWebExceptionMapper implements ExceptionMapper<WebApplicationException>{
- //private static final Logger LOGGER = Logger
- // .getLogger(DMaaPWebExceptionMapper.class);
+
private static final EELFLogger LOGGER = EELFManager.getInstance().getLogger(DMaaPWebExceptionMapper.class);
private ErrorResponse errRes;