From: Snigdha Sucharita Patra Date: Tue, 17 Apr 2018 09:50:04 +0000 (+0530) Subject: sonar minor issue for TopicRestService.java X-Git-Tag: v1.1.4~15^2~5 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=93749d9abc0061b4ec5c2b7acc9a489048be39ed;p=dmaap%2Fmessagerouter%2Fmessageservice.git sonar minor issue for TopicRestService.java 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 --- diff --git a/src/main/java/com/att/nsa/dmaap/service/TopicRestService.java b/src/main/java/com/att/nsa/dmaap/service/TopicRestService.java index 597390a..d8be745 100644 --- a/src/main/java/com/att/nsa/dmaap/service/TopicRestService.java +++ b/src/main/java/com/att/nsa/dmaap/service/TopicRestService.java @@ -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 =