Skip to content

Commit c68c115

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

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

spring-batch-docs/asciidoc/processor.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ objects, throwing an exception if any other type is provided. Similarly, the
110110
public Job ioSampleJob() {
111111
return this.jobBuilderFactory.get("ioSampleJob")
112112
.start(step1())
113-
.end()
114113
.build();
115114
}
116115
@@ -216,7 +215,6 @@ Just as with the previous example, the composite processor can be configured int
216215
public Job ioSampleJob() {
217216
return this.jobBuilderFactory.get("ioSampleJob")
218217
.start(step1())
219-
.end()
220218
.build();
221219
}
222220

spring-batch-docs/asciidoc/readersAndWriters.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ The following example shows how to inject a delegate as a stream in XML:
178178
public Job ioSampleJob() {
179179
return this.jobBuilderFactory.get("ioSampleJob")
180180
.start(step1())
181-
.end()
182181
.build();
183182
}
184183

0 commit comments

Comments
 (0)