Merge branch '3.3.x'

Closes gh-41919
This commit is contained in:
Stéphane Nicoll
2024-08-19 09:40:06 +02:00

View File

@@ -180,7 +180,7 @@ class SpringConfigurationPropertySource implements ConfigurationPropertySource {
}
private static PropertySource<?> getRootSource(PropertySource<?> source) {
while (source.getSource() != null && source.getSource() instanceof PropertySource<?> propertySource) {
while (source.getSource() instanceof PropertySource<?> propertySource) {
source = propertySource;
}
return source;