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
@@ -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