commit | c67e38cdaff3cb8c9a8ee4d2e9339190f69c278a | [log] [tgz] |
---|---|---|
author | Snigdha Sucharita Patra <sp00503415@techmahindra.com> | Fri Apr 06 12:57:19 2018 +0530 |
committer | Snigdha Sucharita Patra <sp00503415@techmahindra.com> | Fri Apr 06 12:58:50 2018 +0530 |
tree | 7103b8252c6872a7256a00a1032fac1f8bf933af | |
parent | 25e675bc353c8fab4b077af67e58e3567fa8d570 [diff] |
sonar issue for ApiKeysRestService.java.java Remove the declaration of thrown exception Sonar Link: https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AV5hThCr32hFUzlqeS1M&resolved=false&severities=MINOR Location: src/main/java/com/att/nsa/dmaap/service/ApiKeysRestService.java Line No-163 Change-Id: Icc4bbba249b3e135c0794609c83ef9edcbe1901c Issue-ID: DMAAP-393 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
diff --git a/src/main/java/com/att/nsa/dmaap/service/ApiKeysRestService.java b/src/main/java/com/att/nsa/dmaap/service/ApiKeysRestService.java index eb76a96..95b2d5e 100644 --- a/src/main/java/com/att/nsa/dmaap/service/ApiKeysRestService.java +++ b/src/main/java/com/att/nsa/dmaap/service/ApiKeysRestService.java
@@ -160,7 +160,7 @@ @POST @Path("/create") @Consumes(MediaType.APPLICATION_JSON) - public void createApiKey(ApiKeyBean nsaApiKey) throws CambriaApiException, JSONException { + public void createApiKey(ApiKeyBean nsaApiKey) throws CambriaApiException { log.info("Creating Api Key."); try {