Annotate ContextCustomizer[Factory] with @FunctionalInterface

Issue: SPR-14432
master
Sam Brannen 8 years ago
parent e8b5374d87
commit 80216c243d
  1. 1
      spring-test/src/main/java/org/springframework/test/context/ContextCustomizer.java
  2. 1
      spring-test/src/main/java/org/springframework/test/context/ContextCustomizerFactory.java

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

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

Loading…
Cancel
Save