Skip to content

Commit 64d42fe

Browse files
committed
Fix idref example in reference manual
Closes gh-35560
1 parent 447cfa1 commit 64d42fe

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ element. The following example shows how to use it:
8585

8686
[source,xml,indent=0,subs="verbatim,quotes"]
8787
----
88-
<bean id="theTargetBean" class="..."/>
88+
<bean id="collaborator" class="..." />
8989
90-
<bean id="theClientBean" class="...">
90+
<bean id="client" class="...">
9191
<property name="targetName">
92-
<idref bean="theTargetBean"/>
92+
<idref bean="collaborator" />
9393
</property>
9494
</bean>
9595
----
@@ -99,10 +99,10 @@ following snippet:
9999

100100
[source,xml,indent=0,subs="verbatim,quotes"]
101101
----
102-
<bean id="theTargetBean" class="..." />
102+
<bean id="collaborator" class="..." />
103103
104-
<bean id="theClientBean" class="...">
105-
<property name="targetName" ref="theTargetBean"/>
104+
<bean id="client" class="...">
105+
<property name="targetName" value="collaborator" />
106106
</bean>
107107
----
108108

0 commit comments

Comments
 (0)