Skip to content

Commit eabd574

Browse files
brendenehlerssdeleuze
authored andcommitted
Fix XML code snippet
See gh-34148
1 parent ea386c2 commit eabd574

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: framework-docs/modules/ROOT/pages/core/beans/dependencies/factory-properties-detailed.adoc

+2-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ listings shows how to use the `parent` attribute:
169169
[source,xml,indent=0,subs="verbatim,quotes"]
170170
----
171171
<!-- in the child (descendant) context -->
172-
<bean id="accountService" <!-- bean name is the same as the parent bean -->
172+
<!-- bean name is the same as the parent bean -->
173+
<bean id="accountService"
173174
class="org.springframework.aop.framework.ProxyFactoryBean">
174175
<property name="target">
175176
<ref parent="accountService"/> <!-- notice how we refer to the parent bean -->

0 commit comments

Comments
 (0)