Annotate the "JSONPermLoader" interface with the @FunctionalInterface annotation 04/98104/1
authormanisha07 <cmanis10@in.ibm.com>
Thu, 7 Nov 2019 08:05:03 +0000 (13:35 +0530)
committermanisha07 <cmanis10@in.ibm.com>
Thu, 7 Nov 2019 08:05:21 +0000 (13:35 +0530)
Issue-ID: AAF-1031
Change-Id: I4619a039ec1dd7e65d1d24744bf88d73da6c7ce3
Signed-off-by: manisha07 <cmanis10@in.ibm.com>
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;
 
 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;
 
 public interface JSONPermLoader {
     public Result<String> loadJSONPerms(AuthzTrans trans, String user, Set<String> scopes) throws APIException, CadiException;