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 4e023ab9855..2686ba57649 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 @@ -279,6 +279,11 @@ public class PropertySourcesPlaceholderConfigurer extends PlaceholderConfigurerS return super.source.getProperty(name); } + @Override + public boolean containsProperty(String name) { + return super.source.containsProperty(name); + } + @Override public String toString() { return "FallbackEnvironmentPropertySource {environment=" + super.source + "}";