[docs] Fix formatting

This commit is contained in:
Jinghu Wang 2018-04-05 20:24:30 +08:00 committed by Rossen Stoyanchev
parent a6fd9a7725
commit de3a9560d9
2 changed files with 3 additions and 1 deletions

View File

@ -156,7 +156,7 @@ Now consider a setter of type `PersistenceContextType`:
}
----
.. and the corresponding bean definition:
and the corresponding bean definition:
[source,xml,indent=0]
[subs="verbatim,quotes"]

View File

@ -43,6 +43,8 @@ This is different from the JDK's `ByteBuffer`, which only exposes one position f
writing, and a separate `flip()` operation to switch between the two I/O operations.
In general, the following invariant holds for the read position, write position, and the capacity:
[literal]
[subs="verbatim,quotes"]
--
`0` <= _read position_ <= _write position_ <= _capacity_
--