Skip to content

Commit 7b6b3ae

Browse files
parikshitduttafmbenhassine
authored andcommitted
Deprecated support classes against interfaces with default methods
1 parent fecf8a5 commit 7b6b3ae

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/listener/ChunkListenerSupport.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2013 the original author or authors.
2+
* Copyright 2006-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -24,7 +24,9 @@
2424
* @author Lucas Ward
2525
* @author Michael Minella
2626
*
27+
* @deprecated as of 5.0, in favor of the default methods on the {@link ChunkListener}
2728
*/
29+
@Deprecated
2830
public class ChunkListenerSupport implements ChunkListener {
2931

3032
/* (non-Javadoc)

spring-batch-core/src/main/java/org/springframework/batch/core/listener/JobExecutionListenerSupport.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2013 the original author or authors.
2+
* Copyright 2006-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -21,7 +21,9 @@
2121
/**
2222
* @author Dave Syer
2323
*
24+
* @deprecated as of 5.0, in favor of the default methods on the {@link JobExecutionListener}
2425
*/
26+
@Deprecated
2527
public class JobExecutionListenerSupport implements JobExecutionListener {
2628

2729
/* (non-Javadoc)

spring-batch-core/src/main/java/org/springframework/batch/core/listener/StepExecutionListenerSupport.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2019 the original author or authors.
2+
* Copyright 2006-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -23,7 +23,9 @@
2323
/**
2424
* @author Dave Syer
2525
*
26+
* @deprecated as of 5.0, in favor of the default methods on the {@link StepExecutionListener}
2627
*/
28+
@Deprecated
2729
public class StepExecutionListenerSupport implements StepExecutionListener {
2830

2931
/* (non-Javadoc)

0 commit comments

Comments
 (0)