-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add default methods in interfaces #3924
Milestone
Comments
fmbenhassine
added a commit
that referenced
this issue
Sep 10, 2021
* Add default methods in all listener interfaces * Remove usage of newly deprecated support classes Issue #3924
fmbenhassine
added a commit
that referenced
this issue
May 9, 2022
Default values are consistent with AbstractJob and AbstractStep. Issue #3924
fmbenhassine
added a commit
to fmbenhassine/spring-batch
that referenced
this issue
May 9, 2022
Default values are consistent with AbstractJob and AbstractStep. Issue spring-projects#3924
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Several core interfaces could benefit from using Java 8's default methods in interfaces feature. This has a couple of advantages:
JobExecutionListenerSupport
,StepExecutionListenerSupport
,ChunkListenerSupport
, etc) become obsolete in favour of default methods.This feature is similar to what has been done in other projects (Here is an example from Spring Framework) and the goal is to make sure the Spring (Batch) developer has a consistent experience across the portfolio.
The text was updated successfully, but these errors were encountered: