From 18c9e3e81292156976fc343c02c34f48ba58eb37 Mon Sep 17 00:00:00 2001 From: cac03 Date: Tue, 25 Sep 2018 19:30:43 +0300 Subject: [PATCH] Fix trivial errors in core-beans documentation Closes gh-1967 --- src/docs/asciidoc/core/core-beans.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/docs/asciidoc/core/core-beans.adoc b/src/docs/asciidoc/core/core-beans.adoc index 96c25058f0..c89d1592dc 100644 --- a/src/docs/asciidoc/core/core-beans.adoc +++ b/src/docs/asciidoc/core/core-beans.adoc @@ -5894,7 +5894,7 @@ in effect, disables automatic detection of classes annotated with `@Component`, Spring components can also contribute bean definition metadata to the container. You can do this with the same `@Bean` annotation used to define bean metadata within `@Configuration` -annotated classes. The following example show how to do so: +annotated classes. The following example shows how to do so: ==== [source,java,indent=0] @@ -5923,7 +5923,7 @@ factory method and other bean definition properties, such as a qualifier value t the `@Qualifier` annotation. Other method-level annotations that can be specified are `@Scope`, `@Lazy`, and custom qualifier annotations. -TIP: In addition to its role for component initialization, you can also place the `@Lazy` annotation may +TIP: In addition to its role for component initialization, you can also place the `@Lazy` annotation on injection points marked with `@Autowired` or `@Inject`. In this context, it leads to the injection of a lazy-resolution proxy.