Annotate interfaces with @FunctionaInterface
Closes gh-6857
This commit is contained in:
committed by
Andy Wilkinson
parent
6d70c061de
commit
3d52c86a21
@@ -25,6 +25,7 @@ import java.util.ServiceLoader;
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface CommandFactory {
|
||||
|
||||
/**
|
||||
|
||||
@@ -26,6 +26,7 @@ import java.util.List;
|
||||
* @author Andy Wilkinson
|
||||
* @since 1.2.0
|
||||
*/
|
||||
@FunctionalInterface
|
||||
interface DependencyResolver {
|
||||
|
||||
/**
|
||||
|
||||
@@ -24,6 +24,7 @@ import org.codehaus.groovy.transform.ASTTransformation;
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface SpringBootAstTransformation extends ASTTransformation {
|
||||
|
||||
}
|
||||
|
||||
@@ -21,6 +21,7 @@ package org.springframework.boot.cli.compiler.grape;
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
@FunctionalInterface
|
||||
interface ProgressReporter {
|
||||
|
||||
/**
|
||||
|
||||
@@ -25,6 +25,7 @@ import org.eclipse.aether.RepositorySystem;
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface RepositorySystemSessionAutoConfiguration {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user