From ebd4bbc4b7285218cb69a5cd40a631515d3c728a Mon Sep 17 00:00:00 2001 From: Leo Li <269739606@qq.com> Date: Tue, 9 Nov 2021 17:15:22 +0800 Subject: [PATCH] replace "e.g." --- .../src/docs/asciidoc/features/external-config.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc index 60e099af5892..a308a85ae255 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/external-config.adoc @@ -725,7 +725,7 @@ include::{docs-java}/features/externalconfig/typesafeconfigurationproperties/con NOTE: To use constructor binding the class must be enabled using `@EnableConfigurationProperties` or configuration property scanning. -You cannot use constructor binding with beans that are created by the regular Spring mechanisms (e.g. `@Component` beans, beans created by using `@Bean` methods or beans loaded by using `@Import`) +You cannot use constructor binding with beans that are created by the regular Spring mechanisms (for example `@Component` beans, beans created by using `@Bean` methods or beans loaded by using `@Import`) TIP: If you have more than one constructor for your class you can also use `@ConstructorBinding` directly on the constructor that should be bound.