Sonar Major issues 53/67253/1
authorSurendra Reddy Katam <SK00524980@techmahindra.com>
Tue, 18 Sep 2018 10:22:08 +0000 (15:52 +0530)
committerSurendra Reddy Katam <SK00524980@techmahindra.com>
Tue, 18 Sep 2018 10:22:08 +0000 (15:52 +0530)
 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 <SK00524980@techmahindra.com>
src/main/java/com/att/dmf/mr/service/impl/TopicServiceImpl.java

index cef646e..4c872ad 100644 (file)
@@ -618,7 +618,7 @@ public class TopicServiceImpl implements TopicService {
                // errorMessages.getNotPermitted1()+" <Grant consume permissions>
                
                
-               // 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()+" <Grant consume permissions>
                
-               // LOGGER.info(errRes);
+               
                // throw new DMaaPAccessDeniedException(errRes);
                // }
                //