Skip to content

Commit 04a962c

Browse files
committed
[ci] import sorting
1 parent 531bd26 commit 04a962c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/test/java/org/mybatis/spring/MyBatisSpringTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2022 the original author or authors.
2+
* Copyright 2010-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.
@@ -23,6 +23,8 @@
2323
import com.mockrunner.mock.jdbc.MockDataSource;
2424
import com.mockrunner.mock.jdbc.MockPreparedStatement;
2525

26+
import jakarta.transaction.UserTransaction;
27+
2628
import org.apache.ibatis.exceptions.PersistenceException;
2729
import org.apache.ibatis.mapping.Environment;
2830
import org.apache.ibatis.session.ExecutorType;
@@ -38,8 +40,6 @@
3840
import org.springframework.transaction.jta.JtaTransactionManager;
3941
import org.springframework.transaction.support.DefaultTransactionDefinition;
4042

41-
import jakarta.transaction.UserTransaction;
42-
4343
class MyBatisSpringTest extends AbstractMyBatisSpringTest {
4444

4545
private SqlSession session;

src/test/java/org/mybatis/spring/submitted/xa/UserServiceTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2022 the original author or authors.
2+
* Copyright 2010-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.
@@ -17,15 +17,15 @@
1717

1818
import static org.assertj.core.api.Assertions.assertThat;
1919

20+
import jakarta.transaction.UserTransaction;
21+
2022
import org.junit.jupiter.api.Disabled;
2123
import org.junit.jupiter.api.Test;
2224
import org.junit.jupiter.api.extension.ExtendWith;
2325
import org.springframework.beans.factory.annotation.Autowired;
2426
import org.springframework.test.context.junit.jupiter.SpringExtension;
2527
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;
2628

27-
import jakarta.transaction.UserTransaction;
28-
2929
@Disabled("Yet not found OSS implementation that supported Jakarta EE 9+ APIs")
3030
@ExtendWith(SpringExtension.class)
3131
@SpringJUnitConfig(locations = "classpath:org/mybatis/spring/submitted/xa/applicationContext.xml")

0 commit comments

Comments
 (0)