summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-09-17 22:12:43 +0530
committeranushadasari <danush10@in.ibm.com>2019-09-17 22:13:45 +0530
commit2b8e68eb0de9052ce86d7312ec5e454d3c06d2e4 (patch)
treea1105b77b332b2600b13653c3e9b1961fa33eaf4
parentb907ab4b6d721c875b042a89c7c8c071ba0dd4a9 (diff)
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 <danush10@in.ibm.com>
-rw-r--r--auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/user/Delg.java2
1 files changed, 1 insertions, 1 deletions
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<User> {
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),