From 90961c4159085ad216ad4e23c221c22e02559e78 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Fri, 31 Aug 2018 20:31:13 +0530 Subject: ApiAuthorizationCheckInterface-Fixed sonar issue Fixed sonar issue, Annotate interface with @FunctionInterface. Issue-ID: DMAAP-690 Change-Id: If351b83e6c218b0d2769dccdb9b81d2e1f5d54ac Signed-off-by: Arundathi Patil --- .../onap/dmaap/dbcapi/authentication/ApiAuthorizationCheckInterface.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/main/java/org/onap/dmaap/dbcapi/authentication/ApiAuthorizationCheckInterface.java b/src/main/java/org/onap/dmaap/dbcapi/authentication/ApiAuthorizationCheckInterface.java index a7f0d76..1fef09d 100644 --- a/src/main/java/org/onap/dmaap/dbcapi/authentication/ApiAuthorizationCheckInterface.java +++ b/src/main/java/org/onap/dmaap/dbcapi/authentication/ApiAuthorizationCheckInterface.java @@ -22,6 +22,7 @@ package org.onap.dmaap.dbcapi.authentication; import org.onap.dmaap.dbcapi.aaf.DmaapPerm; +@FunctionalInterface public interface ApiAuthorizationCheckInterface { public void check( String mechid, String pwd, DmaapPerm p ) throws AuthenticationErrorException; -- cgit 1.2.3-korg