Merge "Annotate the "JSONPermLoader" interface with the @FunctionalInterface annotation"
authorJonathan Gathman <jonathan.gathman@att.com>
Thu, 21 Nov 2019 14:39:17 +0000 (14:39 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 21 Nov 2019 14:39:17 +0000 (14:39 +0000)
auth/auth-oauth/src/main/java/org/onap/aaf/auth/oauth/service/JSONPermLoader.java

index 0126c2e..a0644fd 100644 (file)
@@ -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<String> loadJSONPerms(AuthzTrans trans, String user, Set<String> scopes) throws APIException, CadiException;