Annotate functional interfaces with FunctionalInterface.

Closes gh-204.
This commit is contained in:
Mark Paluch
2018-02-28 14:44:14 +01:00
parent 30a2e13b6a
commit aeb3f65a4c
5 changed files with 5 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ package org.springframework.vault.authentication;
* @author Mark Paluch
* @see AppIdAuthentication
*/
@FunctionalInterface
public interface AppIdUserIdMechanism {
/**

View File

@@ -25,6 +25,7 @@ import org.springframework.vault.support.VaultToken;
*
* @author Mark Paluch
*/
@FunctionalInterface
public interface ClientAuthentication {
/**

View File

@@ -29,6 +29,7 @@ import org.springframework.vault.support.VaultToken;
* @see SimpleSessionManager
* @see ClientAuthentication
*/
@FunctionalInterface
public interface SessionManager {
/**

View File

@@ -22,6 +22,7 @@ package org.springframework.vault.client;
* @author Mark Paluch
* @since 1.1
*/
@FunctionalInterface
public interface VaultEndpointProvider {
/**

View File

@@ -23,6 +23,7 @@ import org.springframework.web.client.RestOperations;
*
* @author Mark Paluch
*/
@FunctionalInterface
public interface RestOperationsCallback<T> {
/**