From 5f44e83da5f3d80de890bc3d48968d92e3ce7b91 Mon Sep 17 00:00:00 2001 From: Surendra Reddy Katam Date: Tue, 18 Sep 2018 15:52:08 +0530 Subject: Sonar Major 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.msgrtr%3Amsgrtr&open=AWWpi8_ixOv3LmQdD2Ei&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/service/impl/TopicServiceImpl.java Line No-L621 L658 L669 Change-Id: I67b3b03080781186e18580a240be63bd04542edd Issue-ID: DMAAP-787 Signed-off-by: Surendra Reddy Katam --- src/main/java/com/att/dmf/mr/service/impl/TopicServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/com/att/dmf/mr/service') diff --git a/src/main/java/com/att/dmf/mr/service/impl/TopicServiceImpl.java b/src/main/java/com/att/dmf/mr/service/impl/TopicServiceImpl.java index cef646e..4c872ad 100644 --- a/src/main/java/com/att/dmf/mr/service/impl/TopicServiceImpl.java +++ b/src/main/java/com/att/dmf/mr/service/impl/TopicServiceImpl.java @@ -618,7 +618,7 @@ public class TopicServiceImpl implements TopicService { // errorMessages.getNotPermitted1()+" - // throw new DMaaPAccessDeniedException(errRes); + // } // } @@ -655,7 +655,7 @@ public class TopicServiceImpl implements TopicService { //// String permission = - // DMaaPAAFAuthenticator aaf = new DMaaPAAFAuthenticatorImpl(); + // String permission = aaf.aafPermissionString(topicName, "manage"); // if(!aaf.aafAuthentication(dmaapContext.getRequest(), permission)) // { @@ -666,7 +666,7 @@ public class TopicServiceImpl implements TopicService { // DMaaPResponseCode.ACCESS_NOT_PERMITTED.getResponseCode(), // errorMessages.getNotPermitted1()+" - // LOGGER.info(errRes); + // throw new DMaaPAccessDeniedException(errRes); // } // -- cgit 1.2.3-korg