Skip to content

Commit 6641a98

Browse files
committed
Improve the phrasing around property source ordering
1 parent c858c1e commit 6641a98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ You can use a variety of external configuration sources, include Java properties
66
Property values can be injected directly into your beans by using the `@Value` annotation, accessed through Spring's `Environment` abstraction, or be <<features#features.external-config.typesafe-configuration-properties,bound to structured objects>> through `@ConfigurationProperties`.
77

88
Spring Boot uses a very particular `PropertySource` order that is designed to allow sensible overriding of values.
9-
Properties are considered in the following order (with values from lower items overriding earlier ones):
9+
Later property sources can override the values defined in earlier ones.
10+
Sources are considered in the following order:
1011

1112
. Default properties (specified by setting `SpringApplication.setDefaultProperties`).
1213
. {spring-framework-api}/context/annotation/PropertySource.html[`@PropertySource`] annotations on your `@Configuration` classes.

0 commit comments

Comments
 (0)