Annotate functional interfaces with FunctionalInterface.
Closes gh-204.
This commit is contained in:
@@ -23,6 +23,7 @@ package org.springframework.vault.authentication;
|
||||
* @author Mark Paluch
|
||||
* @see AppIdAuthentication
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface AppIdUserIdMechanism {
|
||||
|
||||
/**
|
||||
|
||||
@@ -25,6 +25,7 @@ import org.springframework.vault.support.VaultToken;
|
||||
*
|
||||
* @author Mark Paluch
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface ClientAuthentication {
|
||||
|
||||
/**
|
||||
|
||||
@@ -29,6 +29,7 @@ import org.springframework.vault.support.VaultToken;
|
||||
* @see SimpleSessionManager
|
||||
* @see ClientAuthentication
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface SessionManager {
|
||||
|
||||
/**
|
||||
|
||||
@@ -22,6 +22,7 @@ package org.springframework.vault.client;
|
||||
* @author Mark Paluch
|
||||
* @since 1.1
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface VaultEndpointProvider {
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,6 +23,7 @@ import org.springframework.web.client.RestOperations;
|
||||
*
|
||||
* @author Mark Paluch
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface RestOperationsCallback<T> {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user