Skip to content

Commit 30e9dd7

Browse files
quafffmbenhassine
authored andcommitted
Stop using deprecated StepExecutionListenerSupport in document
Signed-off-by: Yanming Zhou <[email protected]>
1 parent 4671b62 commit 30e9dd7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-batch-docs/modules/ROOT/pages/common-patterns.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ the class definition for `NoWorkFoundStepExecutionListener`:
686686

687687
[source, java]
688688
----
689-
public class NoWorkFoundStepExecutionListener extends StepExecutionListenerSupport {
689+
public class NoWorkFoundStepExecutionListener implements StepExecutionListener {
690690
691691
public ExitStatus afterStep(StepExecution stepExecution) {
692692
if (stepExecution.getReadCount() == 0) {

spring-batch-docs/modules/ROOT/pages/testing.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ the following code snippet shows:
303303

304304
[source, java]
305305
----
306-
public class NoWorkFoundStepExecutionListener extends StepExecutionListenerSupport {
306+
public class NoWorkFoundStepExecutionListener implements StepExecutionListener {
307307
308308
public ExitStatus afterStep(StepExecution stepExecution) {
309309
if (stepExecution.getReadCount() == 0) {

0 commit comments

Comments
 (0)