Fix misused 'end()' in examples
`end()` should be used with `FlowJobBuilder`. Issue #3902
This commit is contained in:
committed by
Mahmoud Ben Hassine
parent
4b8331d724
commit
63cfc07a5e
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user