From f2ff377c89102191727d8c8b9050716d59e8b9f4 Mon Sep 17 00:00:00 2001 From: anushadasari Date: Thu, 19 Sep 2019 09:44:35 +0530 Subject: [PATCH] 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 --- auth/auth-hello/src/main/java/org/onap/aaf/auth/hello/AAF_Hello.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { * to do Versions and Content switches * */ - public void route(HttpMethods meth, String path, API api, HttpCode code) throws Exception { + public void route(HttpMethods meth, String path, API api, HttpCode code){ String version = "1.0"; // Get Correct API Class from Mapper route(env,meth,path,code,"text/plain;version="+version,"*/*"); -- 2.16.6