diff --git a/spring-test/src/main/java/org/springframework/test/context/DynamicPropertySource.java b/spring-test/src/main/java/org/springframework/test/context/DynamicPropertySource.java index 3ffa6f8885..69bd5d41bf 100644 --- a/spring-test/src/main/java/org/springframework/test/context/DynamicPropertySource.java +++ b/spring-test/src/main/java/org/springframework/test/context/DynamicPropertySource.java @@ -36,9 +36,10 @@ import java.lang.annotation.Target; *
Methods annotated with {@code @DynamicPropertySource} must be {@code static} * and must have a single {@link DynamicPropertyRegistry} argument which is used * to add name-value pairs to the {@code Environment}'s set of - * {@code PropertySources}. Values are dynamic and provided via a {@link Supplier} - * which is only invoked when the property is resolved. Typically, method references - * are used to supply values, as in the following example. + * {@code PropertySources}. Values are dynamic and provided via a + * {@link java.util.function.Supplier} which is only invoked when the property + * is resolved. Typically, method references are used to supply values, as in the + * following example. * *