diff options
author | Snigdha Sucharita Patra <sp00503415@techmahindra.com> | 2018-04-17 15:41:56 +0530 |
---|---|---|
committer | Snigdha Sucharita Patra <sp00503415@techmahindra.com> | 2018-04-17 15:41:56 +0530 |
commit | 93aee997c29601e8c43f28bfcb5f8bf5aeddba11 (patch) | |
tree | a9ec197bdc7e1cba1776a7e445542b5bb4a8abe0 /src/main/java | |
parent | 93749d9abc0061b4ec5c2b7acc9a489048be39ed (diff) |
sonar minor issue for MMRestService.java
Remove the declaration of thrown exception 'com.att.nsa.cambria.CambriaApiException', as it cannot be thrown from method's body
Sonar Link:
https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AWGAn5o88TZzbCgU6clR&resolved=false&severities=MINOR
Location:
src/main/java/com/att/nsa/dmaap/service/MMRestService.java
Line No-377
Change-Id: Ie267b119f51c24769e6c1da5bb48fa590dc7ab40
Issue-ID: DMAAP-422
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/att/nsa/dmaap/service/MMRestService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/dmaap/service/MMRestService.java b/src/main/java/com/att/nsa/dmaap/service/MMRestService.java index 2d4a75b..da294d7 100644 --- a/src/main/java/com/att/nsa/dmaap/service/MMRestService.java +++ b/src/main/java/com/att/nsa/dmaap/service/MMRestService.java @@ -374,7 +374,7 @@ public class MMRestService { @POST @Produces("application/json") @Path("/delete") - public void callDeleteMirrorMaker(InputStream msg) throws CambriaApiException { + public void callDeleteMirrorMaker(InputStream msg) { DMaaPContext ctx = getDmaapContext(); if (checkMirrorMakerPermission(ctx, |