From 7dbea00b3676ea3d8020c5e59ec1f6513a7fbd58 Mon Sep 17 00:00:00 2001 From: anushadasari Date: Wed, 25 Sep 2019 18:20:08 +0530 Subject: [PATCH] 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 --- auth/auth-locate/src/main/java/org/onap/aaf/auth/locate/AAF_Locate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.16.6