diff options
author | anushadasari <danush10@in.ibm.com> | 2019-09-19 09:44:35 +0530 |
---|---|---|
committer | anushadasari <danush10@in.ibm.com> | 2019-09-19 09:45:02 +0530 |
commit | f2ff377c89102191727d8c8b9050716d59e8b9f4 (patch) | |
tree | 0021bcf16648cdb10bb5cf8e832ee730c5ad150d | |
parent | 6ecb0f85a1896c3f9480579c4d98327666d282f5 (diff) |
Sonar-AAF_Hello.java
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
Issue-ID: AAF-982
Change-Id: I91d81ff24dbbf435f1f064675902beb61fa8fb06
Signed-off-by: anushadasari <danush10@in.ibm.com>
-rw-r--r-- | auth/auth-hello/src/main/java/org/onap/aaf/auth/hello/AAF_Hello.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/auth-hello/src/main/java/org/onap/aaf/auth/hello/AAF_Hello.java b/auth/auth-hello/src/main/java/org/onap/aaf/auth/hello/AAF_Hello.java index ff957093..cd9965cf 100644 --- a/auth/auth-hello/src/main/java/org/onap/aaf/auth/hello/AAF_Hello.java +++ b/auth/auth-hello/src/main/java/org/onap/aaf/auth/hello/AAF_Hello.java @@ -90,7 +90,7 @@ public class AAF_Hello extends AbsService<AuthzEnv,AuthzTrans> { * to do Versions and Content switches * */ - public void route(HttpMethods meth, String path, API api, HttpCode<AuthzTrans, AAF_Hello> code) throws Exception { + public void route(HttpMethods meth, String path, API api, HttpCode<AuthzTrans, AAF_Hello> code){ String version = "1.0"; // Get Correct API Class from Mapper route(env,meth,path,code,"text/plain;version="+version,"*/*"); |