sonar-AAF_Locate.java 28/96228/1
authoranushadasari <danush10@in.ibm.com>
Wed, 25 Sep 2019 12:50:08 +0000 (18:20 +0530)
committeranushadasari <danush10@in.ibm.com>
Wed, 25 Sep 2019 12:50:20 +0000 (18:20 +0530)
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 <danush10@in.ibm.com>
auth/auth-locate/src/main/java/org/onap/aaf/auth/locate/AAF_Locate.java

index b481ff9..0ad14c8 100644 (file)
@@ -170,7 +170,7 @@ public class AAF_Locate extends AbsService<AuthzEnv, AuthzTrans> {
         // 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
     }