From c850d70d429f6ff73124554611e2f21fc173e9c0 Mon Sep 17 00:00:00 2001 From: anushadasari Date: Wed, 25 Sep 2019 18:16:01 +0530 Subject: [PATCH] Sonar-API_Hello.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: Ia0f02407eb6ae388e577c0c4761b2594378033cc Signed-off-by: anushadasari --- auth/auth-hello/src/main/java/org/onap/aaf/auth/hello/API_Hello.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/auth-hello/src/main/java/org/onap/aaf/auth/hello/API_Hello.java b/auth/auth-hello/src/main/java/org/onap/aaf/auth/hello/API_Hello.java index 7fef0ba2..814dff27 100644 --- a/auth/auth-hello/src/main/java/org/onap/aaf/auth/hello/API_Hello.java +++ b/auth/auth-hello/src/main/java/org/onap/aaf/auth/hello/API_Hello.java @@ -56,7 +56,7 @@ public class API_Hello { * @param facade * @throws Exception */ - public static void init(final AAF_Hello oauthHello) throws Exception { + public static void init(final AAF_Hello oauthHello){ //////// // Simple "GET" API /////// -- 2.16.6