Adjust non-compiling code in documentation

Resolves #4406
This commit is contained in:
Henning Poettker
2023-11-21 21:56:31 +01:00
committed by Mahmoud Ben Hassine
parent 89e0a0cd86
commit 29d574734f
8 changed files with 29 additions and 27 deletions

View File

@@ -20,9 +20,9 @@ value of 10 as it would be defined in Java:
[source, java]
----
@Bean
public Job sampleJob(JobRepository jobRepository) {
public Job sampleJob(JobRepository jobRepository, Step step1) {
return new JobBuilder("sampleJob", jobRepository)
.start(step1())
.start(step1)
.build();
}