Skip to content

Commit

Permalink
Fix comment syntax in xml examples
Browse files Browse the repository at this point in the history
  • Loading branch information
diguage authored and sbrannen committed Aug 6, 2020
1 parent b684273 commit 0501999
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/docs/asciidoc/core/core-appendix.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ The following example shows a path being used against another bean, by name:

[source,xml,indent=0,subs="verbatim,quotes"]
----
// target bean to be referenced by name
<!-- target bean to be referenced by name -->
<bean id="person" class="org.springframework.beans.TestBean" scope="prototype">
<property name="age" value="10"/>
<property name="spouse">
Expand All @@ -252,7 +252,7 @@ The following example shows a path being used against another bean, by name:
</property>
</bean>
// results in 11, which is the value of property 'spouse.age' of bean 'person'
<!-- results in 11, which is the value of property 'spouse.age' of bean 'person' -->
<bean id="theAge"
class="org.springframework.beans.factory.config.PropertyPathFactoryBean">
<property name="targetBeanName" value="person"/>
Expand Down
2 changes: 1 addition & 1 deletion src/docs/asciidoc/languages/dynamic-languages.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ The following bean definition uses the calculator defined in Groovy:
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
<-- from the file 'beans.xml' -->
<!-- from the file 'beans.xml' -->
<beans>
<lang:groovy id="calculator" script-source="classpath:calculator.groovy"/>
</beans>
Expand Down

0 comments on commit 0501999

Please sign in to comment.