diff options
author | Jonathan Gathman <jonathan.gathman@att.com> | 2019-12-02 23:40:49 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-12-02 23:40:49 +0000 |
commit | d314247eb00c10dd2e7a08dcec52bc2eff8092be (patch) | |
tree | 83d5ae637e5056268cb8604bd453db14bfe7ed3c | |
parent | 9cfe250dd0bfda8860384659eb3173c1ed32fdde (diff) | |
parent | 66e9a387df70df12daf6a6b27303a39c0acf64fb (diff) |
Merge "Adding @Functional Interface"
-rw-r--r-- | cadi/core/src/main/java/org/onap/aaf/cadi/Connector.java | 1 | ||||
-rw-r--r-- | cadi/core/src/main/java/org/onap/aaf/cadi/GetCred.java | 2 |
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(); } |