Skip to content

Commit 62ec5c1

Browse files
committed
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 b599bfe
1 parent 8deef6c commit 62ec5c1

File tree

1 file changed

+0
-1
lines changed
  • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch

1 file changed

+0
-1
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BasicBatchConfigurer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ protected JobExplorer createJobExplorer() throws Exception {
117117
return factory.getObject();
118118
}
119119

120-
@SuppressWarnings({ "deprecation", "removal" })
121120
protected JobLauncher createJobLauncher() throws Exception {
122121
TaskExecutorJobLauncher jobLauncher = new TaskExecutorJobLauncher();
123122
jobLauncher.setJobRepository(getJobRepository());

0 commit comments

Comments
 (0)