Stop using deprecated StepExecutionListenerSupport in document

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
This commit is contained in:
Yanming Zhou
2025-03-17 15:09:50 +08:00
committed by Mahmoud Ben Hassine
parent 4671b62b14
commit 30e9dd79f8
2 changed files with 2 additions and 2 deletions

View File

@@ -686,7 +686,7 @@ the class definition for `NoWorkFoundStepExecutionListener`:
[source, java]
----
public class NoWorkFoundStepExecutionListener extends StepExecutionListenerSupport {
public class NoWorkFoundStepExecutionListener implements StepExecutionListener {
public ExitStatus afterStep(StepExecution stepExecution) {
if (stepExecution.getReadCount() == 0) {

View File

@@ -303,7 +303,7 @@ the following code snippet shows:
[source, java]
----
public class NoWorkFoundStepExecutionListener extends StepExecutionListenerSupport {
public class NoWorkFoundStepExecutionListener implements StepExecutionListener {
public ExitStatus afterStep(StepExecution stepExecution) {
if (stepExecution.getReadCount() == 0) {