Annotate the "JSONPermLoader" interface with the @FunctionalInterface annotation
[aaf/authz.git] / 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;