Update PropertySourcesPlaceholderConfigurer.java

Fix the error message when PropertySources are not applied
This commit is contained in:
Bhavani Shekhawat
2018-07-26 14:36:46 -04:00
committed by Juergen Hoeller
parent 8277ea5794
commit ee95f171c8

View File

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