diff options
author | Snigdha Sucharita Patra <sp00503415@techmahindra.com> | 2018-04-17 15:08:47 +0530 |
---|---|---|
committer | Snigdha Sucharita Patra <sp00503415@techmahindra.com> | 2018-04-17 15:08:47 +0530 |
commit | 1345b0df91af107654e49cb6d517a44bdcb03094 (patch) | |
tree | b7e9bdce59c5c4988b89d831cddf6a75345e735d /src | |
parent | 50822885b2f78c460fbc051441511e793d14b025 (diff) |
sonar minor issue for TopicRestService.java
Remove the declaration of thrown exception 'org.json.JSONException' which is a runtime exception
Sonar Link:
https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AV5hThDc32hFUzlqeS3r&resolved=false&severities=MINOR
Location:
src/main/java/com/att/nsa/dmaap/service/TopicRestService.java
Line No-302
Change-Id: I44b91c8e0a485400fcaad7ef2e899ffa4d1d0dc1
Issue-ID: DMAAP-420
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/att/nsa/dmaap/service/TopicRestService.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 50bd069..597390a 100644 --- a/src/main/java/com/att/nsa/dmaap/service/TopicRestService.java +++ b/src/main/java/com/att/nsa/dmaap/service/TopicRestService.java @@ -299,7 +299,7 @@ public class TopicRestService { @Path("/create") @Consumes({ MediaType.APPLICATION_JSON }) // @Produces(MediaType.TEXT_PLAIN) - public void createTopic(TopicBean topicBean) throws CambriaApiException, JSONException { + public void createTopic(TopicBean topicBean) throws CambriaApiException{ try { LOGGER.info("Creating Topic." + topicBean.getTopicName()); |