Annotate interfaces with @FunctionaInterface
Closes gh-6857
This commit is contained in:
committed by
Andy Wilkinson
parent
6d70c061de
commit
3d52c86a21
@@ -30,6 +30,7 @@ import org.springframework.boot.configurationprocessor.fieldvalues.javac.JavaCom
|
||||
* @since 1.1.2
|
||||
* @see JavaCompilerFieldValuesParser
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface FieldValuesParser {
|
||||
|
||||
/**
|
||||
|
||||
@@ -22,6 +22,7 @@ package org.springframework.boot.configurationprocessor.fieldvalues.javac;
|
||||
* @author Phillip Webb
|
||||
* @since 1.2.0
|
||||
*/
|
||||
@FunctionalInterface
|
||||
interface TreeVisitor {
|
||||
|
||||
void visitVariable(VariableTree variable) throws Exception;
|
||||
|
||||
Reference in New Issue
Block a user