Skip to content

Commit b8dbf23

Browse files
committed
Polish Javadoc for @TestPropertySource
(cherry picked from commit 0267715)
1 parent 2b135f0 commit b8dbf23

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

spring-test/src/main/java/org/springframework/test/context/TestPropertySource.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,10 @@
121121
* {@code http:}, etc.) will be loaded using the specified resource protocol.
122122
* Resource location wildcards (e.g. <code>*&#42;/*.properties</code>)
123123
* are not permitted: each location must evaluate to exactly one
124-
* {@code .properties} or {@code .xml} resource.
124+
* {@code .properties} or {@code .xml} resource. Property placeholders
125+
* in paths (i.e., <code>${...}</code>) will be
126+
* {@linkplain org.springframework.core.env.Environment#resolveRequiredPlaceholders(String) resolved}
127+
* against the {@code Environment}.
125128
*
126129
* <h3>Default Properties File Detection</h3>
127130
* <p>See the class-level Javadoc for a discussion on detection of defaults.

0 commit comments

Comments
 (0)