Fix misused 'end()' in examples

`end()` should be used with `FlowJobBuilder`.

Issue #3902
This commit is contained in:
Taeik Lim
2021-05-04 04:54:00 +09:00
committed by Mahmoud Ben Hassine
parent 4b8331d724
commit 63cfc07a5e
2 changed files with 0 additions and 3 deletions

View File

@@ -110,7 +110,6 @@ objects, throwing an exception if any other type is provided. Similarly, the
public Job ioSampleJob() {
return this.jobBuilderFactory.get("ioSampleJob")
.start(step1())
.end()
.build();
}
@@ -216,7 +215,6 @@ Just as with the previous example, the composite processor can be configured int
public Job ioSampleJob() {
return this.jobBuilderFactory.get("ioSampleJob")
.start(step1())
.end()
.build();
}

View File

@@ -178,7 +178,6 @@ The following example shows how to inject a delegate as a stream in XML:
public Job ioSampleJob() {
return this.jobBuilderFactory.get("ioSampleJob")
.start(step1())
.end()
.build();
}