Skip to content

Commit 8977584

Browse files
brianhartungrstoyanchev
authored andcommitted
Fixed typos
Fixed a couple of minor documentation typos
1 parent d211381 commit 8977584

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
@@ -5477,7 +5477,7 @@ references do not participate in regular candidate selection and are therefore i
54775477
particular never primary. On the contrary, they always end up as lowest precedence.
54785478
In practice, you should use self references as a last resort only (for example, for
54795479
calling other methods on the same instance through the bean's transactional proxy).
5480-
Consider factoring out the effected methods to a separate delegate bean in such a scenario.
5480+
Consider factoring out the affected methods to a separate delegate bean in such a scenario.
54815481
Alternatively, you can use `@Resource`, which may obtain a proxy back to the current bean
54825482
by its unique name.
54835483

@@ -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.age}") String country) {
6779+
@Value("#{privateInstance.country}") String country) {
67806780
TestBean tb = new TestBean("protectedInstance", 1);
67816781
tb.setSpouse(spouse);
67826782
tb.setCountry(country);

0 commit comments

Comments
 (0)