summaryrefslogtreecommitdiffstats
path: root/auth/auth-locate/src
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-09-25 18:20:08 +0530
committeranushadasari <danush10@in.ibm.com>2019-09-25 18:20:20 +0530
commit7dbea00b3676ea3d8020c5e59ec1f6513a7fbd58 (patch)
tree9755398732bf36db16867f71946242867df956d5 /auth/auth-locate/src
parentc850d70d429f6ff73124554611e2f21fc173e9c0 (diff)
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 <danush10@in.ibm.com>
Diffstat (limited to 'auth/auth-locate/src')
-rw-r--r--auth/auth-locate/src/main/java/org/onap/aaf/auth/locate/AAF_Locate.java2
1 files changed, 1 insertions, 1 deletions
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<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
}