Skip to content

Commit 31901e5

Browse files
committed
Polishing.
Remove unused fields in TestConfiguration. Original pull request #2068 See #1935
1 parent bf1842c commit 31901e5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

spring-data-jdbc/src/test/java/org/springframework/data/jdbc/testing/TestConfiguration.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@
2222

2323
import javax.sql.DataSource;
2424

25-
import org.apache.ibatis.session.SqlSessionFactory;
2625
import org.mockito.Mockito;
27-
import org.springframework.beans.factory.BeanFactory;
2826
import org.springframework.beans.factory.annotation.Autowired;
2927
import org.springframework.beans.factory.annotation.Qualifier;
3028
import org.springframework.context.ApplicationEventPublisher;
@@ -77,9 +75,7 @@ public class TestConfiguration {
7775
public static final String PROFILE_NO_SINGLE_QUERY_LOADING = "!" + PROFILE_SINGLE_QUERY_LOADING;
7876

7977
@Autowired DataSource dataSource;
80-
@Autowired BeanFactory beanFactory;
8178
@Autowired ApplicationEventPublisher publisher;
82-
@Autowired(required = false) SqlSessionFactory sqlSessionFactory;
8379

8480
@Bean
8581
JdbcRepositoryFactory jdbcRepositoryFactory(

0 commit comments

Comments
 (0)