From ee95f171c8a934080421e802fa6868843af1c45f Mon Sep 17 00:00:00 2001 From: Bhavani Shekhawat Date: Thu, 26 Jul 2018 14:36:46 -0400 Subject: [PATCH] Update PropertySourcesPlaceholderConfigurer.java Fix the error message when PropertySources are not applied --- .../context/support/PropertySourcesPlaceholderConfigurer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-context/src/main/java/org/springframework/context/support/PropertySourcesPlaceholderConfigurer.java b/spring-context/src/main/java/org/springframework/context/support/PropertySourcesPlaceholderConfigurer.java index 99e8524010..c98b066645 100644 --- a/spring-context/src/main/java/org/springframework/context/support/PropertySourcesPlaceholderConfigurer.java +++ b/spring-context/src/main/java/org/springframework/context/support/PropertySourcesPlaceholderConfigurer.java @@ -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; }