summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-09-25 18:16:01 +0530
committeranushadasari <danush10@in.ibm.com>2019-09-25 18:16:43 +0530
commitc850d70d429f6ff73124554611e2f21fc173e9c0 (patch)
tree6008b014822c332870e20004f8b9f1e88c0fba71
parentd2239b1d46850249573a0e43ae1582ade98133c4 (diff)
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 <danush10@in.ibm.com>
-rw-r--r--auth/auth-hello/src/main/java/org/onap/aaf/auth/hello/API_Hello.java2
1 files changed, 1 insertions, 1 deletions
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
///////