Skip to content

Commit 1658223

Browse files
brianhartungrstoyanchev
authored andcommitted
Fixed typo
Fixed another small documentation typo.
1 parent 8977584 commit 1658223

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/docs/asciidoc/core/core-beans.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6776,7 +6776,7 @@ support for autowiring of `@Bean` methods. The following example shows how to do
67766776
@Bean
67776777
protected TestBean protectedInstance(
67786778
@Qualifier("public") TestBean spouse,
6779-
@Value("#{privateInstance.country}") String country) {
6779+
@Value("#{privateInstance.age}") String country) {
67806780
TestBean tb = new TestBean("protectedInstance", 1);
67816781
tb.setSpouse(spouse);
67826782
tb.setCountry(country);
@@ -6842,7 +6842,7 @@ beans of prototype scope. For other scopes, the factory method only ever sees th
68426842
injection point that triggered the creation of a new bean instance in the given scope
68436843
(for example, the dependency that triggered the creation of a lazy singleton bean).
68446844
You can use the provided injection point metadata with semantic care in such scenarios.
6845-
The following example shows how to do use `InjectionPoint`:
6845+
The following example shows how to use `InjectionPoint`:
68466846

68476847
[source,java,indent=0,subs="verbatim,quotes",role="primary"]
68486848
.Java

0 commit comments

Comments
 (0)