Skip to content

Commit

Permalink
Fix code examples in documentation
Browse files Browse the repository at this point in the history
The changed code examples in this commit used the
`.end()` method which does not exist in `SimpleStepBuilder`.

Issue #3889
  • Loading branch information
LichKing-lee authored and fmbenhassine committed May 17, 2021
1 parent 8d181bc commit b486e24
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions spring-batch-docs/src/main/asciidoc/domain.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public Job footballJob() {
.start(playerLoad())
.next(gameLoad())
.next(playerSummarization())
.end()
.build();
}
----
Expand Down Expand Up @@ -113,7 +112,6 @@ public Job footballJob() {
.start(playerLoad())
.next(gameLoad())
.next(playerSummarization())
.end()
.build();
}
----
Expand Down
2 changes: 0 additions & 2 deletions spring-batch-docs/src/main/asciidoc/job.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public Job footballJob() {
.start(playerLoad())
.next(gameLoad())
.next(playerSummarization())
.end()
.build();
}
----
Expand Down Expand Up @@ -106,7 +105,6 @@ public Job footballJob() {
.start(playerLoad())
.next(gameLoad())
.next(playerSummarization())
.end()
.build();
}
----
Expand Down
2 changes: 0 additions & 2 deletions spring-batch-docs/src/main/asciidoc/step.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,6 @@ value of 10 as it would be defined in Java:
public Job sampleJob() {
return this.jobBuilderFactory.get("sampleJob")
.start(step1())
.end()
.build();
}
Expand Down Expand Up @@ -507,7 +506,6 @@ public Job footballJob() {
.start(playerLoad())
.next(gameLoad())
.next(playerSummarization())
.end()
.build();
}
Expand Down

0 comments on commit b486e24

Please sign in to comment.