Skip to content

Commit 3877795

Browse files
committed
Escape single quotes in the reference manual
This commit ensures that single quotes nested in double quotes in code examples in the reference manual are properly escaped using ''. Issue: SPR-12246
1 parent 587a816 commit 3877795

File tree

2 files changed

+75
-75
lines changed

2 files changed

+75
-75
lines changed

src/asciidoc/appendix.adoc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ code in a callback, while still respecting and participating in Spring's generic
144144
`DataAccessException` hierarchy. The `HibernateDaoSupport` base class offers methods to
145145
access the current transactional `Session` and to convert exceptions in such a scenario;
146146
similar methods are also available as static helpers on the `SessionFactoryUtils` class.
147-
Note that such code will usually pass ' `false`' as the value of the `getSession(..)`
148-
methods ' `allowCreate`' argument, to enforce running within a transaction (which avoids
147+
Note that such code will usually pass `false` as the value of the `getSession(..)`
148+
methods `allowCreate` argument, to enforce running within a transaction (which avoids
149149
the need to close the returned `Session`, as its lifecycle is managed by the
150150
transaction).
151151

@@ -2368,8 +2368,8 @@ Before...
23682368
----
23692369

23702370
The above configuration uses a Spring `FactoryBean` implementation, the
2371-
`FieldRetrievingFactoryBean`, to set the value of the `'isolation'` property on a bean
2372-
to the value of the `'java.sql.Connection.TRANSACTION_SERIALIZABLE'` constant. This is
2371+
`FieldRetrievingFactoryBean`, to set the value of the `isolation` property on a bean
2372+
to the value of the `java.sql.Connection.TRANSACTION_SERIALIZABLE` constant. This is
23732373
all well and good, but it is a tad verbose and (unnecessarily) exposes Spring's internal
23742374
plumbing to the end user.
23752375

@@ -2512,8 +2512,8 @@ Before...
25122512
----
25132513

25142514
The above configuration uses a Spring `FactoryBean` implementation, the
2515-
`PropertyPathFactoryBean`, to create a bean (of type `int`) called `'testBean.age'` that
2516-
has a value equal to the `'age'` property of the `'testBean'` bean.
2515+
`PropertyPathFactoryBean`, to create a bean (of type `int`) called `testBean.age` that
2516+
has a value equal to the `age` property of the `testBean` bean.
25172517

25182518
After...
25192519

@@ -2534,8 +2534,8 @@ After...
25342534
<util:property-path id="name" path="testBean.age"/>
25352535
----
25362536

2537-
The value of the `'path'` attribute of the `<property-path/>` tag follows the form
2538-
`'beanName.beanProperty'`.
2537+
The value of the `path` attribute of the `<property-path/>` tag follows the form
2538+
`beanName.beanProperty`.
25392539

25402540
[[xsd-config-body-schemas-util-property-path-dependency]]
25412541
====== Using <util:property-path/> to set a bean property or constructor-argument
@@ -2666,7 +2666,7 @@ Before...
26662666

26672667
The above configuration uses a Spring `FactoryBean` implementation, the
26682668
`ListFactoryBean`, to create a `java.util.List` instance initialized with values taken
2669-
from the supplied `'sourceList'`.
2669+
from the supplied `sourceList`.
26702670

26712671
After...
26722672

@@ -2683,7 +2683,7 @@ After...
26832683
----
26842684

26852685
You can also explicitly control the exact type of `List` that will be instantiated and
2686-
populated via the use of the `'list-class'` attribute on the `<util:list/>` element. For
2686+
populated via the use of the `list-class` attribute on the `<util:list/>` element. For
26872687
example, if we really need a `java.util.LinkedList` to be instantiated, we could use the
26882688
following configuration:
26892689

@@ -2698,7 +2698,7 @@ following configuration:
26982698
</util:list>
26992699
----
27002700

2701-
If no `'list-class'` attribute is supplied, a `List` implementation will be chosen by
2701+
If no `list-class` attribute is supplied, a `List` implementation will be chosen by
27022702
the container.
27032703

27042704

0 commit comments

Comments
 (0)