mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Update PropertySourcesPlaceholderConfigurer.java
Fix the error message when PropertySources are not applied
This commit is contained in:
committed by
Juergen Hoeller
parent
8277ea5794
commit
ee95f171c8
+1
-1
@@ -202,7 +202,7 @@ public class PropertySourcesPlaceholderConfigurer extends PlaceholderConfigurerS
|
||||
* @since 4.0
|
||||
*/
|
||||
public PropertySources getAppliedPropertySources() throws IllegalStateException {
|
||||
Assert.state(this.appliedPropertySources != null, "PropertySources have not get been applied");
|
||||
Assert.state(this.appliedPropertySources != null, "PropertySources have not yet been applied");
|
||||
return this.appliedPropertySources;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user