Skip to content

Commit 44034af

Browse files
acktsapfmbenhassine
authored andcommitted
Fix misused 'end()' in examples
`end()` should be used with `FlowJobBuilder`. Issue #3902
1 parent 8b57a46 commit 44034af

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

spring-batch-docs/asciidoc/readersAndWriters.adoc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ objects, throwing an exception if any other type is provided. Similarly, the
196196
public Job ioSampleJob() {
197197
return this.jobBuilderFactory.get("ioSampleJOb")
198198
.start(step1())
199-
.end()
200199
.build();
201200
}
202201
@@ -299,7 +298,6 @@ Just as with the previous example, the composite processor can be configured int
299298
public Job ioSampleJob() {
300299
return this.jobBuilderFactory.get("ioSampleJob")
301300
.start(step1())
302-
.end()
303301
.build();
304302
}
305303
@@ -438,7 +436,6 @@ the following example:
438436
public Job ioSampleJob() {
439437
return this.jobBuilderFactory.get("ioSampleJob")
440438
.start(step1())
441-
.end()
442439
.build();
443440
}
444441

0 commit comments

Comments
 (0)