@@ -177,7 +177,7 @@ private static String[] mergeProperties(List<TestPropertySourceAttributes> attri
177
177
/**
178
178
* Add the {@link Properties} files from the given resource {@code locations}
179
179
* to the {@link Environment} of the supplied {@code context}.
180
- * <p>This method simply delegates to
180
+ * <p>This method delegates to
181
181
* {@link #addPropertiesFilesToEnvironment(ConfigurableEnvironment, ResourceLoader, String...)}.
182
182
* @param context the application context whose environment should be updated;
183
183
* never {@code null}
@@ -229,14 +229,8 @@ public static void addPropertiesFilesToEnvironment(ConfigurableEnvironment envir
229
229
/**
230
230
* Add property sources for the given {@code descriptors} to the
231
231
* {@link Environment} of the supplied {@code context}.
232
- * <p>Property placeholders in resource locations (i.e., <code>${...}</code>)
233
- * will be {@linkplain Environment#resolveRequiredPlaceholders(String) resolved}
234
- * against the {@code Environment}.
235
- * <p>Each {@link PropertySource} will be created via the configured
236
- * {@link PropertySourceDescriptor#propertySourceFactory() PropertySourceFactory}
237
- * (or the {@link DefaultPropertySourceFactory} if no factory is configured)
238
- * and added to the {@link PropertySources} of the environment with the highest
239
- * precedence.
232
+ * <p>This method delegates to
233
+ * {@link #addPropertySourcesToEnvironment(ConfigurableEnvironment, ResourceLoader, List)}.
240
234
* @param context the application context whose environment should be updated;
241
235
* never {@code null}
242
236
* @param descriptors the property source descriptors to process; potentially
0 commit comments