Override containsProperty() in FallbackEnvironmentPropertySource
This commit overrides containsProperty() in FallbackEnvironmentPropertySource for consistency with the implementation of ConfigurableEnvironmentPropertySource. See gh-34861
This commit is contained in:
@@ -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 + "}";
|
||||
|
||||
Reference in New Issue
Block a user