diff --git a/src/site/docbook/reference/common-patterns.xml b/src/site/docbook/reference/common-patterns.xml
index 6976c696b..f425eb793 100644
--- a/src/site/docbook/reference/common-patterns.xml
+++ b/src/site/docbook/reference/common-patterns.xml
@@ -536,7 +536,7 @@ public Trade read() throws Exception {
during Step execution and if the
Step fails, that data will be lost.
- public void SavingItemWriter implements ItemWriter<Object> {
+ public class SavingItemWriter implements ItemWriter<Object> {
private StepExecution stepExecution;
public void write(List<? extends Object> items) throws Exception {