File tree Expand file tree Collapse file tree 9 files changed +26
-37
lines changed
main/java/org/apache/ibatis/io
test/java/org/apache/ibatis Expand file tree Collapse file tree 9 files changed +26
-37
lines changed Original file line number Diff line number Diff line change 316
316
317
317
<build >
318
318
<plugins >
319
- <plugin >
320
- <groupId >org.apache.maven.plugins</groupId >
321
- <artifactId >maven-enforcer-plugin</artifactId >
322
- <configuration >
323
- <rules >
324
- <enforceBytecodeVersion >
325
- <ignoredScopes >test</ignoredScopes >
326
- </enforceBytecodeVersion >
327
- </rules >
328
- </configuration >
329
- </plugin >
330
319
<plugin >
331
320
<groupId >org.apache.maven.plugins</groupId >
332
321
<artifactId >maven-compiler-plugin</artifactId >
Original file line number Diff line number Diff line change 22
22
import java .io .InputStream ;
23
23
import java .io .InputStreamReader ;
24
24
import java .io .UnsupportedEncodingException ;
25
- import java .nio .charset .StandardCharsets ;
26
25
import java .net .MalformedURLException ;
27
26
import java .net .URL ;
28
27
import java .net .URLEncoder ;
28
+ import java .nio .charset .StandardCharsets ;
29
29
import java .nio .file .InvalidPathException ;
30
30
import java .util .ArrayList ;
31
31
import java .util .Arrays ;
Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .apache .ibatis .cache ;
17
17
18
- import org .apache .ibatis .cache .decorators .SerializedCache ;
19
- import org .apache .ibatis .cache .impl .PerpetualCache ;
20
- import org .junit .jupiter .api .Test ;
18
+ import static org .junit .jupiter .api .Assertions .assertEquals ;
19
+ import static org .junit .jupiter .api .Assertions .assertThrows ;
21
20
22
21
import java .io .Serializable ;
23
22
import java .util .Objects ;
24
23
25
- import static org .junit .jupiter .api .Assertions .assertEquals ;
26
- import static org .junit .jupiter .api .Assertions .assertThrows ;
24
+ import org .apache .ibatis .cache .decorators .SerializedCache ;
25
+ import org .apache .ibatis .cache .impl .PerpetualCache ;
26
+ import org .junit .jupiter .api .Test ;
27
27
28
28
class SerializedCacheTest {
29
29
Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .apache .ibatis .submitted .repeatable ;
17
17
18
+ import java .io .IOException ;
19
+ import java .io .Reader ;
20
+ import java .sql .SQLException ;
21
+
18
22
import org .apache .ibatis .BaseDataTest ;
19
23
import org .apache .ibatis .io .Resources ;
20
24
import org .apache .ibatis .session .SqlSession ;
23
27
import org .junit .jupiter .api .Assertions ;
24
28
import org .junit .jupiter .api .Test ;
25
29
26
- import java .io .IOException ;
27
- import java .io .Reader ;
28
- import java .sql .SQLException ;
29
-
30
30
class RepeatableDeleteTest {
31
31
32
32
@ Test
Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .apache .ibatis .submitted .repeatable ;
17
17
18
+ import java .io .IOException ;
19
+ import java .io .Reader ;
20
+
18
21
import org .apache .ibatis .builder .BuilderException ;
19
22
import org .apache .ibatis .io .Resources ;
20
23
import org .apache .ibatis .session .SqlSessionFactory ;
21
24
import org .apache .ibatis .session .SqlSessionFactoryBuilder ;
22
25
import org .junit .jupiter .api .Assertions ;
23
26
import org .junit .jupiter .api .Test ;
24
27
25
- import java .io .IOException ;
26
- import java .io .Reader ;
27
-
28
28
class RepeatableErrorTest {
29
29
30
30
@ Test
Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .apache .ibatis .submitted .repeatable ;
17
17
18
+ import java .io .IOException ;
19
+ import java .io .Reader ;
20
+ import java .sql .SQLException ;
21
+
18
22
import org .apache .ibatis .BaseDataTest ;
19
23
import org .apache .ibatis .io .Resources ;
20
24
import org .apache .ibatis .session .SqlSession ;
23
27
import org .junit .jupiter .api .Assertions ;
24
28
import org .junit .jupiter .api .Test ;
25
29
26
- import java .io .IOException ;
27
- import java .io .Reader ;
28
- import java .sql .SQLException ;
29
-
30
30
class RepeatableInsertTest {
31
31
32
32
@ Test
Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .apache .ibatis .submitted .repeatable ;
17
17
18
+ import java .io .IOException ;
19
+ import java .io .Reader ;
20
+ import java .sql .SQLException ;
21
+
18
22
import org .apache .ibatis .BaseDataTest ;
19
23
import org .apache .ibatis .io .Resources ;
20
24
import org .apache .ibatis .session .SqlSession ;
23
27
import org .junit .jupiter .api .Assertions ;
24
28
import org .junit .jupiter .api .Test ;
25
29
26
- import java .io .IOException ;
27
- import java .io .Reader ;
28
- import java .sql .SQLException ;
29
-
30
30
class RepeatableSelectTest {
31
31
32
32
@ Test
Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .apache .ibatis .submitted .repeatable ;
17
17
18
+ import java .io .IOException ;
19
+ import java .io .Reader ;
20
+ import java .sql .SQLException ;
21
+
18
22
import org .apache .ibatis .BaseDataTest ;
19
23
import org .apache .ibatis .io .Resources ;
20
24
import org .apache .ibatis .session .SqlSession ;
23
27
import org .junit .jupiter .api .Assertions ;
24
28
import org .junit .jupiter .api .Test ;
25
29
26
- import java .io .IOException ;
27
- import java .io .Reader ;
28
- import java .sql .SQLException ;
29
-
30
30
class RepeatableUpdateTest {
31
31
32
32
@ Test
Original file line number Diff line number Diff line change 30
30
import java .util .Map ;
31
31
32
32
import org .apache .ibatis .BaseDataTest ;
33
- import org .apache .ibatis .annotations .InsertProvider ;
34
33
import org .apache .ibatis .annotations .DeleteProvider ;
34
+ import org .apache .ibatis .annotations .InsertProvider ;
35
35
import org .apache .ibatis .annotations .Param ;
36
36
import org .apache .ibatis .annotations .SelectProvider ;
37
37
import org .apache .ibatis .annotations .UpdateProvider ;
You can’t perform that action at this time.
0 commit comments