diff --git a/spring-batch-docs/asciidoc/job.adoc b/spring-batch-docs/asciidoc/job.adoc index fe260a368..c3545eb7b 100644 --- a/spring-batch-docs/asciidoc/job.adoc +++ b/spring-batch-docs/asciidoc/job.adoc @@ -579,7 +579,7 @@ way. However, since a call to the `create*` method is quite short, it is unlikel can be overridden. [role="xmlContent"] -The following example shows how to the isolation level in XML: +The following example shows how to override the isolation level in XML: .XML Configuration [source, xml, role="xmlContent"] @@ -589,7 +589,7 @@ The following example shows how to the isolation level in XML: ---- [role="javaContent"] -The following example shows how to the isolation level in Java: +The following example shows how to override the isolation level in Java: .Java Configuration [source, java, role="javaContent"] diff --git a/spring-batch-docs/asciidoc/step.adoc b/spring-batch-docs/asciidoc/step.adoc index c1859d747..95ebd233d 100644 --- a/spring-batch-docs/asciidoc/step.adoc +++ b/spring-batch-docs/asciidoc/step.adoc @@ -907,9 +907,6 @@ The following example shows how to register a `stream` on a `step` in XML: -[role="javaContent"] -The following example shows how to register a `stream` on a `step` in Java: - @@ -921,6 +918,9 @@ The following example shows how to register a `stream` on a `step` in Java: ---- +[role="javaContent"] +The following example shows how to register a `stream` on a `step` in Java: + .Java Configuration [source, java, role="javaContent"] ---- @@ -2279,8 +2279,8 @@ The following example shows how to access the `ExecutionContext` in XML: ---- -[role="xmlContent"] -The following example shows how to access the `ExecutionContext` in XML: +[role="javaContent"] +The following example shows how to access the `ExecutionContext` in Java: .Java Configuration [source, java, role="javaContent"]