Browse Source

Merge branch '3.3.x'

Closes gh-41919
pull/41930/head
Stéphane Nicoll 1 year ago
parent
commit
e5d97cc2fc
  1. 2
      spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/source/SpringConfigurationPropertySource.java

2
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/source/SpringConfigurationPropertySource.java

@ -180,7 +180,7 @@ class SpringConfigurationPropertySource implements ConfigurationPropertySource { @@ -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;

Loading…
Cancel
Save