Sonar-API_Hello.java 27/96227/1
authoranushadasari <danush10@in.ibm.com>
Wed, 25 Sep 2019 12:46:01 +0000 (18:16 +0530)
committeranushadasari <danush10@in.ibm.com>
Wed, 25 Sep 2019 12:46:43 +0000 (18:16 +0530)
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 <danush10@in.ibm.com>
auth/auth-hello/src/main/java/org/onap/aaf/auth/hello/API_Hello.java

index 7fef0ba..814dff2 100644 (file)
@@ -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
         ///////