Remove temporary workaround for deprecations in Spring Batch

TaskExecutorJobLauncher has been improved so that its inherited
methods are no longer deprecated.

See gh-31623 and b599bfe5ac
pull/31798/head
Andy Wilkinson 2 years ago
parent 8deef6cb42
commit 62ec5c19de

@ -117,7 +117,6 @@ public class BasicBatchConfigurer implements BatchConfigurer, InitializingBean {
return factory.getObject();
}
@SuppressWarnings({ "deprecation", "removal" })
protected JobLauncher createJobLauncher() throws Exception {
TaskExecutorJobLauncher jobLauncher = new TaskExecutorJobLauncher();
jobLauncher.setJobRepository(getJobRepository());

Loading…
Cancel
Save