summaryrefslogtreecommitdiffstats
path: root/cadi/core
diff options
context:
space:
mode:
authormanisha07 <cmanis10@in.ibm.com>2019-11-07 17:57:17 +0530
committermanisha07 <cmanis10@in.ibm.com>2019-11-07 17:57:25 +0530
commit66e9a387df70df12daf6a6b27303a39c0acf64fb (patch)
tree658393fb35bc821078a1cd33f5889c0ca2a3f3d8 /cadi/core
parent333a035c095351e496328ec72c82beb65507e71b (diff)
Adding @Functional Interface
Issue-ID: AAF-1031 Change-Id: Ief5c43c74818845599da79455b36b2081bb9f52c Signed-off-by: manisha07 <cmanis10@in.ibm.com>
Diffstat (limited to 'cadi/core')
-rw-r--r--cadi/core/src/main/java/org/onap/aaf/cadi/Connector.java1
-rw-r--r--cadi/core/src/main/java/org/onap/aaf/cadi/GetCred.java2
2 files changed, 3 insertions, 0 deletions
diff --git a/cadi/core/src/main/java/org/onap/aaf/cadi/Connector.java b/cadi/core/src/main/java/org/onap/aaf/cadi/Connector.java
index 88ac57e6..c5f60d2e 100644
--- a/cadi/core/src/main/java/org/onap/aaf/cadi/Connector.java
+++ b/cadi/core/src/main/java/org/onap/aaf/cadi/Connector.java
@@ -21,6 +21,7 @@
package org.onap.aaf.cadi;
+@FunctionalInterface
public interface Connector {
public Lur newLur() throws CadiException;
}
diff --git a/cadi/core/src/main/java/org/onap/aaf/cadi/GetCred.java b/cadi/core/src/main/java/org/onap/aaf/cadi/GetCred.java
index 4c5ca543..c813754a 100644
--- a/cadi/core/src/main/java/org/onap/aaf/cadi/GetCred.java
+++ b/cadi/core/src/main/java/org/onap/aaf/cadi/GetCred.java
@@ -21,6 +21,8 @@
package org.onap.aaf.cadi;
+
+@FunctionalInterface
public interface GetCred {
byte[] getCred();
}