|
1 | 1 | /**
|
2 |
| - * Copyright 2010-2019 the original author or authors. |
| 2 | + * Copyright 2010-2020 the original author or authors. |
3 | 3 | *
|
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | 5 | * you may not use this file except in compliance with the License.
|
|
15 | 15 | */
|
16 | 16 | package org.mybatis.spring.batch;
|
17 | 17 |
|
18 |
| -import org.apache.ibatis.session.ExecutorType; |
19 |
| -import org.apache.ibatis.session.SqlSession; |
20 |
| -import org.apache.ibatis.session.SqlSessionFactory; |
21 |
| -import org.mybatis.spring.SqlSessionTemplate; |
22 |
| -import org.springframework.batch.item.database.AbstractPagingItemReader; |
| 18 | +import static org.springframework.util.Assert.notNull; |
| 19 | +import static org.springframework.util.ClassUtils.getShortName; |
23 | 20 |
|
24 | 21 | import java.util.HashMap;
|
25 | 22 | import java.util.Map;
|
26 | 23 | import java.util.concurrent.CopyOnWriteArrayList;
|
27 | 24 |
|
28 |
| -import static org.springframework.util.Assert.notNull; |
29 |
| -import static org.springframework.util.ClassUtils.getShortName; |
| 25 | +import org.apache.ibatis.session.ExecutorType; |
| 26 | +import org.apache.ibatis.session.SqlSession; |
| 27 | +import org.apache.ibatis.session.SqlSessionFactory; |
| 28 | +import org.mybatis.spring.SqlSessionTemplate; |
| 29 | +import org.springframework.batch.item.database.AbstractPagingItemReader; |
30 | 30 |
|
31 | 31 | /**
|
32 | 32 | * {@code org.springframework.batch.item.ItemReader} for reading database records using MyBatis in a paging fashion.
|
33 | 33 | * <p>
|
34 | 34 | * Provided to facilitate the migration from Spring-Batch iBATIS 2 page item readers to MyBatis 3.
|
35 | 35 | *
|
36 | 36 | * @author Eduardo Macarron
|
37 |
| - * |
| 37 | + * |
38 | 38 | * @since 1.1.0
|
39 | 39 | */
|
40 | 40 | public class MyBatisPagingItemReader<T> extends AbstractPagingItemReader<T> {
|
@@ -83,7 +83,7 @@ public void setParameterValues(Map<String, Object> parameterValues) {
|
83 | 83 |
|
84 | 84 | /**
|
85 | 85 | * Check mandatory properties.
|
86 |
| - * |
| 86 | + * |
87 | 87 | * @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet()
|
88 | 88 | */
|
89 | 89 | @Override
|
|
0 commit comments