summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSnigdha Sucharita Patra <sp00503415@techmahindra.com>2018-04-06 13:16:04 +0530
committerSnigdha Sucharita Patra <sp00503415@techmahindra.com>2018-04-06 13:17:03 +0530
commit244299e82d62ad61882a1927221ed9da0add4619 (patch)
treee9bc6310d287c0021a08eb97fb645d50e2fc19ee
parentc67e38cdaff3cb8c9a8ee4d2e9339190f69c278a (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=AV5hThCs32hFUzlqeS1N&resolved=false&severities=MINOR Location: src/main/java/com/att/nsa/dmaap/service/ApiKeysRestService.java Line No-195 Change-Id: I6c771a10b98ea999c928214205d8eb615d5b6be4 Issue-ID: DMAAP-394 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
-rw-r--r--src/main/java/com/att/nsa/dmaap/service/ApiKeysRestService.java2
1 files changed, 1 insertions, 1 deletions
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 95b2d5e..a76a04c 100644
--- a/src/main/java/com/att/nsa/dmaap/service/ApiKeysRestService.java
+++ b/src/main/java/com/att/nsa/dmaap/service/ApiKeysRestService.java
@@ -192,7 +192,7 @@ public class ApiKeysRestService {
@PUT
@Path("/{apiKey}")
public void updateApiKey(@PathParam("apiKey") String apiKeyName,
- ApiKeyBean nsaApiKey) throws CambriaApiException, JSONException {
+ ApiKeyBean nsaApiKey) throws CambriaApiException {
log.info("Updating Api Key.");
try {