Skip to content

Commit 264d4f5

Browse files
committed
Merge branch '2.1.x' into 2.2.x
2 parents dc8edde + 3834052 commit 264d4f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ A custom implementation may define another order.
105105

106106
CAUTION: While using `@PropertySource` on your `@SpringBootApplication` may seem to be a convenient way to load a custom resource in the `Environment`, we do not recommend it.
107107
Such property sources are not added to the `Environment` until the application context is being refreshed.
108-
This is too late to configure certain properties such as `logging.*` and `spring.main.*` which are read before refresh begins.
108+
This is too late to configure certain properties such as `+logging.*+` and `+spring.main.*+` which are read before refresh begins.
109109

110110

111111

spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ Properties are considered in the following order:
371371
. Application properties packaged inside your jar (`application.properties` and YAML variants).
372372
. {spring-framework-api}/context/annotation/PropertySource.html[`@PropertySource`] annotations on your `@Configuration` classes.
373373
Please note that such property sources are not added to the `Environment` until the application context is being refreshed.
374-
This is too late to configure certain properties such as `logging.*` and `spring.main.*` which are read before refresh begins.
374+
This is too late to configure certain properties such as `+logging.*+` and `+spring.main.*+` which are read before refresh begins.
375375
. Default properties (specified by setting `SpringApplication.setDefaultProperties`).
376376

377377
To provide a concrete example, suppose you develop a `@Component` that uses a `name` property, as shown in the following example:

0 commit comments

Comments
 (0)