From: anushadasari Date: Wed, 25 Sep 2019 12:46:01 +0000 (+0530) Subject: Sonar-API_Hello.java X-Git-Tag: 2.1.17~105^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aaf%2Fauthz.git;a=commitdiff_plain;h=c850d70d429f6ff73124554611e2f21fc173e9c0 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 --- 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 ///////