From: anushadasari Date: Wed, 25 Sep 2019 12:50:08 +0000 (+0530) Subject: sonar-AAF_Locate.java X-Git-Tag: 2.1.17~104^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aaf%2Fauthz.git;a=commitdiff_plain;h=7dbea00b3676ea3d8020c5e59ec1f6513a7fbd58 sonar-AAF_Locate.java Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body. Issue-ID: AAF-985 Change-Id: I6b4ca87b13b91c91e4738e6613a4be9240ea5a02 Signed-off-by: anushadasari --- diff --git a/auth/auth-locate/src/main/java/org/onap/aaf/auth/locate/AAF_Locate.java b/auth/auth-locate/src/main/java/org/onap/aaf/auth/locate/AAF_Locate.java index b481ff9a..0ad14c84 100644 --- a/auth/auth-locate/src/main/java/org/onap/aaf/auth/locate/AAF_Locate.java +++ b/auth/auth-locate/src/main/java/org/onap/aaf/auth/locate/AAF_Locate.java @@ -170,7 +170,7 @@ public class AAF_Locate extends AbsService { // Add other Supported APIs here as created } - public void routeAll(HttpMethods meth, String path, API api, LocateCode code) throws Exception { + public void routeAll(HttpMethods meth, String path, API api, LocateCode code){ route(env,meth,path,code,""); // this will always match }