Skip to content

Commit 3a1e769

Browse files
LichKing-leefmbenhassine
authored andcommitted
Fix code examples in documentation
The changed code examples in this commit used the `.end()` method which does not exist in `SimpleStepBuilder`. Issue #3889
1 parent 28e3f04 commit 3a1e769

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

spring-batch-docs/asciidoc/domain.adoc

-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ public Job footballJob() {
7676
.start(playerLoad())
7777
.next(gameLoad())
7878
.next(playerSummarization())
79-
.end()
8079
.build();
8180
}
8281
----
@@ -111,7 +110,6 @@ public Job footballJob() {
111110
.start(playerLoad())
112111
.next(gameLoad())
113112
.next(playerSummarization())
114-
.end()
115113
.build();
116114
}
117115
----

spring-batch-docs/asciidoc/job.adoc

-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ public Job footballJob() {
4141
.start(playerLoad())
4242
.next(gameLoad())
4343
.next(playerSummarization())
44-
.end()
4544
.build();
4645
}
4746
----
@@ -109,7 +108,6 @@ public Job footballJob() {
109108
.start(playerLoad())
110109
.next(gameLoad())
111110
.next(playerSummarization())
112-
.end()
113111
.build();
114112
}
115113
----

spring-batch-docs/asciidoc/step.adoc

-2
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,6 @@ value of 10.
344344
public Job sampleJob() {
345345
return this.jobBuilderFactory.get("sampleJob")
346346
.start(step1())
347-
.end()
348347
.build();
349348
}
350349
@@ -482,7 +481,6 @@ public Job footballJob() {
482481
.start(playerLoad())
483482
.next(gameLoad())
484483
.next(playerSummarization())
485-
.end()
486484
.build();
487485
}
488486

0 commit comments

Comments
 (0)