From: manisha07 Date: Thu, 7 Nov 2019 08:05:03 +0000 (+0530) Subject: Annotate the "JSONPermLoader" interface with the @FunctionalInterface annotation X-Git-Tag: 2.1.17~46^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aaf%2Fauthz.git;a=commitdiff_plain;h=9dc7627a31efdd7a41ca7a25755e04f6b23d0e07 Annotate the "JSONPermLoader" interface with the @FunctionalInterface annotation Issue-ID: AAF-1031 Change-Id: I4619a039ec1dd7e65d1d24744bf88d73da6c7ce3 Signed-off-by: manisha07 --- diff --git a/auth/auth-oauth/src/main/java/org/onap/aaf/auth/oauth/service/JSONPermLoader.java b/auth/auth-oauth/src/main/java/org/onap/aaf/auth/oauth/service/JSONPermLoader.java index 0126c2e2..a0644fd1 100644 --- a/auth/auth-oauth/src/main/java/org/onap/aaf/auth/oauth/service/JSONPermLoader.java +++ b/auth/auth-oauth/src/main/java/org/onap/aaf/auth/oauth/service/JSONPermLoader.java @@ -28,6 +28,7 @@ import org.onap.aaf.auth.layer.Result; import org.onap.aaf.cadi.CadiException; import org.onap.aaf.misc.env.APIException; +@FunctionalInterface public interface JSONPermLoader { public Result loadJSONPerms(AuthzTrans trans, String user, Set scopes) throws APIException, CadiException;