Skip to content

Commit 2754018

Browse files
benelogfmbenhassine
authored andcommitted
Fix typos in document for configuring steps
1 parent c90aa63 commit 2754018

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-batch-docs/asciidoc/step.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,15 +160,15 @@ an in-line `<step/>` (one defined within a `<job/>`), it is an attribute on the
160160
element. For a standalone `<step/>`, it is defined as an attribute of the <tasklet/>.
161161

162162
[role="javaContent"]
163-
* `repository`: The The Java-specific name of the `JobRepository` that periodically stores
163+
* `repository`: The Java-specific name of the `JobRepository` that periodically stores
164164
the `StepExecution` and `ExecutionContext` during processing (just before committing).
165165

166166
[role="xmlContent"]
167-
* `commit-interval`: The XML-specific name of the the number of items to be processed
167+
* `commit-interval`: The XML-specific name of the number of items to be processed
168168
before the transaction is committed.
169169

170170
[role="javaContent"]
171-
* `chunk`: The XML-specific name of the dependency that indicates that this is an
171+
* `chunk`: The Java-specific name of the dependency that indicates that this is an
172172
item-based step and the number of items to be processed before the transaction is
173173
committed.
174174

@@ -1042,7 +1042,7 @@ public Step step1() {
10421042

10431043
An `ItemReader`, `ItemWriter` or `ItemProcessor` that itself implements one of the
10441044
`StepListener` interfaces is registered automatically with the `Step` if using the
1045-
namespace `<step>` element or one of the the `*StepFactoryBean` factories. This only
1045+
namespace `<step>` element or one of the `*StepFactoryBean` factories. This only
10461046
applies to components directly injected into the `Step`. If the listener is nested inside
10471047
another component, it needs to be explicitly registered (as described previously under
10481048
<<registeringItemStreams>>).

0 commit comments

Comments
 (0)