From: manisha07 Date: Thu, 7 Nov 2019 16:59:01 +0000 (+0530) Subject: Remove the declaration of thrown exception 'org.onap.aaf.misc.env.APIException',... X-Git-Tag: 2.1.17~31^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aaf%2Fauthz.git;a=commitdiff_plain;h=d16c6d57b3f0a6283960017444d7ffb22b4d583e Remove the declaration of thrown exception 'org.onap.aaf.misc.env.APIException', as it cannot be thrown from constructor's body Issue-ID: AAF-1031 Change-Id: I41f14fc71992d8117b393ddf9dab33d4616452d8 Signed-off-by: manisha07 --- diff --git a/cadi/aaf/src/main/java/org/onap/aaf/cadi/aaf/cert/AAFListedCertIdentity.java b/cadi/aaf/src/main/java/org/onap/aaf/cadi/aaf/cert/AAFListedCertIdentity.java index f3a45e5e..943e43ef 100644 --- a/cadi/aaf/src/main/java/org/onap/aaf/cadi/aaf/cert/AAFListedCertIdentity.java +++ b/cadi/aaf/src/main/java/org/onap/aaf/cadi/aaf/cert/AAFListedCertIdentity.java @@ -67,7 +67,7 @@ public class AAFListedCertIdentity implements CertIdentity { private static Map> trusted =null; - public AAFListedCertIdentity(Access access, AAFCon aafcon) throws APIException { + public AAFListedCertIdentity(Access access, AAFCon aafcon) { synchronized(AAFListedCertIdentity.class) { if (certIDs==null) { String cip = access.getProperty(Config.AAF_CERT_IDS, null);