Annotate ContextCustomizer[Factory] with @FunctionalInterface

Issue: SPR-14432
This commit is contained in:
Sam Brannen
2016-07-08 17:17:25 +02:00
parent e8b5374d87
commit 80216c243d
2 changed files with 2 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ import org.springframework.context.ConfigurableApplicationContext;
* @see ContextCustomizerFactory
* @see org.springframework.test.context.support.AbstractContextLoader#customizeContext
*/
@FunctionalInterface
public interface ContextCustomizer {
/**

View File

@@ -34,6 +34,7 @@ import java.util.List;
* @author Sam Brannen
* @since 4.3
*/
@FunctionalInterface
public interface ContextCustomizerFactory {
/**