Skip to content

Commit 50cd6fe

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 284b7dc commit 50cd6fe

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
@@ -77,7 +77,6 @@ public Job footballJob() {
7777
.start(playerLoad())
7878
.next(gameLoad())
7979
.next(playerSummarization())
80-
.end()
8180
.build();
8281
}
8382
----
@@ -113,7 +112,6 @@ public Job footballJob() {
113112
.start(playerLoad())
114113
.next(gameLoad())
115114
.next(playerSummarization())
116-
.end()
117115
.build();
118116
}
119117
----

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
----
@@ -106,7 +105,6 @@ public Job footballJob() {
106105
.start(playerLoad())
107106
.next(gameLoad())
108107
.next(playerSummarization())
109-
.end()
110108
.build();
111109
}
112110
----

spring-batch-docs/asciidoc/step.adoc

-2
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,6 @@ value of 10 as it would be defined in Java:
352352
public Job sampleJob() {
353353
return this.jobBuilderFactory.get("sampleJob")
354354
.start(step1())
355-
.end()
356355
.build();
357356
}
358357
@@ -507,7 +506,6 @@ public Job footballJob() {
507506
.start(playerLoad())
508507
.next(gameLoad())
509508
.next(playerSummarization())
510-
.end()
511509
.build();
512510
}
513511

0 commit comments

Comments
 (0)