Skip to content

Commit fd8f65b

Browse files
committed
Remove unused bean in JobLoaderConfigurationTests
1 parent 850c27e commit fd8f65b

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

spring-batch-core/src/test/java/org/springframework/batch/core/configuration/annotation/JobLoaderConfigurationTests.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2023 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.
@@ -120,12 +120,6 @@ public void initialize() {
120120
@Configuration
121121
public static class TestConfiguration {
122122

123-
@Bean
124-
public ApplicationObjectSupport fakeApplicationObjectSupport() {
125-
return new ApplicationObjectSupport() {
126-
};
127-
}
128-
129123
@Bean
130124
public Job testJob(JobRepository jobRepository) throws Exception {
131125
SimpleJobBuilder builder = new JobBuilder("test", jobRepository).start(step1(jobRepository))

0 commit comments

Comments
 (0)