From: anushadasari Date: Tue, 17 Sep 2019 16:42:43 +0000 (+0530) Subject: Remove declaration thrown from constructor's body. X-Git-Tag: 2.1.17~114^2~2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F31%2F95831%2F1;p=aaf%2Fauthz.git Remove declaration thrown from constructor's body. Remove the declaration of thrown exception 'org.onap.aaf.misc.env.APIException', as it cannot be thrown from constructor's body. Issue-ID: AAF-982 Change-Id: I22a4ffe16eddb82abd44caa0cce8b7bd6430d446 Signed-off-by: anushadasari --- diff --git a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/user/Delg.java b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/user/Delg.java index e4ddc2b1..3d226f7e 100644 --- a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/user/Delg.java +++ b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/user/Delg.java @@ -45,7 +45,7 @@ public class Delg extends BaseCmd { static final String AUTHZ_DELG = "/authz/delegate"; private static final String[] options = {"add","upd","del"}; - public Delg(User user) throws APIException { + public Delg(User user){ super(user,"delegate", new Param(optionsToString(options),true), new Param("from",true),