Merge branch '3.2.x' into 3.3.x

Closes gh-41918
This commit is contained in:
Stéphane Nicoll
2024-08-19 09:39:55 +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;