From 9f2fd4f0d54b8d190bc95c2e7a6fcf2d5faf4be5 Mon Sep 17 00:00:00 2001 From: Qimiao Chen Date: Thu, 26 Mar 2020 23:20:55 +0800 Subject: [PATCH] Fix broken link in Javadoc for DynamicPropertySource Closes gh-24792 Co-authored-by: Sam Brannen --- .../test/context/DynamicPropertySource.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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. * *

Example

*