Skip to content

Fix misused 'end()' in examples #3902

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions spring-batch-docs/src/main/asciidoc/domain.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public Job footballJob() {
.start(playerLoad())
.next(gameLoad())
.next(playerSummarization())
.end()
Copy link
Contributor Author

@acktsap acktsap May 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be used if playerLoad() is flow. But it seems that playerLoad() is step according to the context.

.build();
}
----
Expand Down Expand Up @@ -113,7 +112,6 @@ public Job footballJob() {
.start(playerLoad())
.next(gameLoad())
.next(playerSummarization())
.end()
.build();
}
----
Expand Down
2 changes: 0 additions & 2 deletions spring-batch-docs/src/main/asciidoc/job.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public Job footballJob() {
.start(playerLoad())
.next(gameLoad())
.next(playerSummarization())
.end()
.build();
}
----
Expand Down Expand Up @@ -106,7 +105,6 @@ public Job footballJob() {
.start(playerLoad())
.next(gameLoad())
.next(playerSummarization())
.end()
.build();
}
----
Expand Down
2 changes: 0 additions & 2 deletions spring-batch-docs/src/main/asciidoc/processor.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down Expand Up @@ -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();
}

Expand Down
1 change: 0 additions & 1 deletion spring-batch-docs/src/main/asciidoc/readersAndWriters.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down