Skip to content

Commit 6509310

Browse files
committed
Fix DefaultPropertiesPropertySource package tangle
Relocate `DefaultPropertiesPropertySource` to fix a package tangle. Closes gh-23383
1 parent 268904d commit 6509310

File tree

6 files changed

+5
-6
lines changed

6 files changed

+5
-6
lines changed

spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/context/ConfigDataApplicationContextInitializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616

1717
package org.springframework.boot.test.context;
1818

19+
import org.springframework.boot.DefaultPropertiesPropertySource;
1920
import org.springframework.boot.context.config.ConfigData;
2021
import org.springframework.boot.context.config.ConfigDataEnvironmentPostProcessor;
2122
import org.springframework.boot.env.DefaultBootstrapRegisty;
22-
import org.springframework.boot.env.DefaultPropertiesPropertySource;
2323
import org.springframework.boot.env.RandomValuePropertySource;
2424
import org.springframework.context.ApplicationContextInitializer;
2525
import org.springframework.context.ConfigurableApplicationContext;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.env;
17+
package org.springframework.boot;
1818

1919
import java.util.Map;
2020
import java.util.function.Consumer;

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
import org.springframework.boot.context.properties.bind.Binder;
4747
import org.springframework.boot.context.properties.source.ConfigurationPropertySources;
4848
import org.springframework.boot.convert.ApplicationConversionService;
49-
import org.springframework.boot.env.DefaultPropertiesPropertySource;
5049
import org.springframework.boot.web.reactive.context.AnnotationConfigReactiveWebServerApplicationContext;
5150
import org.springframework.boot.web.reactive.context.StandardReactiveWebEnvironment;
5251
import org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext;

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigDataEnvironment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
import org.apache.commons.logging.Log;
2727

28+
import org.springframework.boot.DefaultPropertiesPropertySource;
2829
import org.springframework.boot.context.config.ConfigDataEnvironmentContributors.BinderOption;
2930
import org.springframework.boot.context.properties.bind.BindException;
3031
import org.springframework.boot.context.properties.bind.Bindable;
@@ -33,7 +34,6 @@
3334
import org.springframework.boot.context.properties.source.ConfigurationPropertyName;
3435
import org.springframework.boot.context.properties.source.ConfigurationPropertySource;
3536
import org.springframework.boot.env.BootstrapRegistry;
36-
import org.springframework.boot.env.DefaultPropertiesPropertySource;
3737
import org.springframework.boot.logging.DeferredLogFactory;
3838
import org.springframework.core.env.ConfigurableEnvironment;
3939
import org.springframework.core.env.Environment;

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@
4242
import org.springframework.beans.BeansException;
4343
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
4444
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
45+
import org.springframework.boot.DefaultPropertiesPropertySource;
4546
import org.springframework.boot.SpringApplication;
4647
import org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent;
4748
import org.springframework.boot.context.event.ApplicationPreparedEvent;
4849
import org.springframework.boot.context.properties.bind.Bindable;
4950
import org.springframework.boot.context.properties.bind.Binder;
5051
import org.springframework.boot.context.properties.bind.PropertySourcesPlaceholdersResolver;
5152
import org.springframework.boot.context.properties.source.ConfigurationPropertySources;
52-
import org.springframework.boot.env.DefaultPropertiesPropertySource;
5353
import org.springframework.boot.env.EnvironmentPostProcessor;
5454
import org.springframework.boot.env.PropertySourceLoader;
5555
import org.springframework.boot.env.RandomValuePropertySource;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.env;
17+
package org.springframework.boot;
1818

1919
import java.util.Collections;
2020
import java.util.function.Consumer;

0 commit comments

Comments
 (0)