From 508841b444ad54c4751197fd5fdb05500fc06b1c 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." by "for example" See gh-28583 --- .../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.