sonar minor issue for TopicRestService.java 99/43299/1
authorSnigdha Sucharita Patra <sp00503415@techmahindra.com>
Tue, 17 Apr 2018 09:50:04 +0000 (15:20 +0530)
committerSnigdha Sucharita Patra <sp00503415@techmahindra.com>
Tue, 17 Apr 2018 09:50:04 +0000 (15:20 +0530)
Remove the declaration of thrown exception 'com.att.nsa.security.ReadWriteSecuredResource
sonar Link:
https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AWH8zNrTRGy6eclHC1Qz&resolved=false&severities=MINOR
Location:
src/main/java/com/att/nsa/dmaap/service/TopicRestService.java
Line No-527

Change-Id: I0b7e9fffdd9df002b817854a0a7aadfbb360ed94
Issue-ID: DMAAP-421
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
src/main/java/com/att/nsa/dmaap/service/TopicRestService.java

index 597390a..d8be745 100644 (file)
@@ -524,7 +524,7 @@ public class TopicRestService {
        @Path("/{topicName}/consumers")
        // @Produces(MediaType.TEXT_PLAIN)
        public void getConsumersByTopicName(@PathParam("topicName") String topicName)
-                       throws AccessDeniedException, CambriaApiException {
+                       throws CambriaApiException {
                try {
 
                        // String permission =