Browse Source

Fix broken link in Javadoc for DynamicPropertySource

Closes gh-24792

Co-authored-by: Sam Brannen <sbrannen@pivotal.io>
pull/24644/head
Qimiao Chen 5 years ago committed by GitHub
parent
commit
9f2fd4f0d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      spring-test/src/main/java/org/springframework/test/context/DynamicPropertySource.java

7
spring-test/src/main/java/org/springframework/test/context/DynamicPropertySource.java

@ -36,9 +36,10 @@ import java.lang.annotation.Target; @@ -36,9 +36,10 @@ import java.lang.annotation.Target;
* <p>Methods annotated with {@code @DynamicPropertySource} must be {@code static}
* and must have a single {@link DynamicPropertyRegistry} argument which is used
* to add <em>name-value</em> 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.
*
* <h3>Example</h3>
*

Loading…
Cancel
Save