summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2018-08-31 20:31:13 +0530
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>2018-08-31 20:32:13 +0530
commit90961c4159085ad216ad4e23c221c22e02559e78 (patch)
tree5587488bea46c52c45df8356bc63e8c60976b367
parent987cb492db3062fb19fbfe73e9ebab91390536d8 (diff)
ApiAuthorizationCheckInterface-Fixed sonar issue
Fixed sonar issue, Annotate interface with @FunctionInterface. Issue-ID: DMAAP-690 Change-Id: If351b83e6c218b0d2769dccdb9b81d2e1f5d54ac Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
-rw-r--r--src/main/java/org/onap/dmaap/dbcapi/authentication/ApiAuthorizationCheckInterface.java1
1 files changed, 1 insertions, 0 deletions
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;