File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5477,7 +5477,7 @@ references do not participate in regular candidate selection and are therefore i
5477
5477
particular never primary. On the contrary, they always end up as lowest precedence.
5478
5478
In practice, you should use self references as a last resort only (for example, for
5479
5479
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.
5481
5481
Alternatively, you can use `@Resource`, which may obtain a proxy back to the current bean
5482
5482
by its unique name.
5483
5483
@@ -6776,7 +6776,7 @@ support for autowiring of `@Bean` methods. The following example shows how to do
6776
6776
@Bean
6777
6777
protected TestBean protectedInstance(
6778
6778
@Qualifier("public") TestBean spouse,
6779
- @Value("#{privateInstance.age }") String country) {
6779
+ @Value("#{privateInstance.country }") String country) {
6780
6780
TestBean tb = new TestBean("protectedInstance", 1);
6781
6781
tb.setSpouse(spouse);
6782
6782
tb.setCountry(country);
You can’t perform that action at this time.
0 commit comments