From 2b8e68eb0de9052ce86d7312ec5e454d3c06d2e4 Mon Sep 17 00:00:00 2001 From: anushadasari Date: Tue, 17 Sep 2019 22:12:43 +0530 Subject: [PATCH] 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 --- auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/user/Delg.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.16.6