Skip to content

Commit de5246d

Browse files
committed
[ci] Remove public from methods in interfaces
1 parent 642860e commit de5246d

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

src/test/java/org/apache/ibatis/submitted/annotion_many_one_add_columnprefix/RoleDao.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ public interface RoleDao {
3232
@Result(column = "name", property = "name")
3333
})
3434
// @formatter:on
35-
public List<Role> findAll();
35+
List<Role> findAll();
3636
}

src/test/java/org/apache/ibatis/submitted/annotion_many_one_add_resultmapid/RoleDao.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ public interface RoleDao {
3232
@Result(column = "role_name", property = "roleName")
3333
})
3434
// @formatter:on
35-
public List<Role> findAll();
35+
List<Role> findAll();
3636
}

src/test/java/org/apache/ibatis/submitted/annotion_many_one_add_resultmapid/UserDao.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public interface UserDao {
3939
@Result(property = "roles", many = @Many(resultMap = "org.apache.ibatis.submitted.annotion_many_one_add_resultmapid.RoleDao.roleMap1"))
4040
})
4141
// @formatter:on
42-
public List<User> findAll();
42+
List<User> findAll();
4343

4444
// @formatter:off
4545
@Select({"select",
@@ -53,7 +53,7 @@ public interface UserDao {
5353
@Result(property = "roles", many = @Many(resultMap = "org.apache.ibatis.submitted.annotion_many_one_add_resultmapid.RoleDao.roleMap2"))
5454
})
5555
// @formatter:on
56-
public List<User> findAll2();
56+
List<User> findAll2();
5757

5858
// @formatter:off
5959
@Select({"select",
@@ -67,7 +67,7 @@ public interface UserDao {
6767
@Result(property = "role", one = @One(resultMap = "org.apache.ibatis.submitted.annotion_many_one_add_resultmapid.RoleDao.roleMap2"))
6868
})
6969
// @formatter:on
70-
public List<User> findAll3();
70+
List<User> findAll3();
7171

7272
// @formatter:off
7373
@Select("select id teacher_id, username teacher_name from user")
@@ -76,7 +76,7 @@ public interface UserDao {
7676
@Result(column = "teacher_name", property = "username")
7777
})
7878
// @formatter:on
79-
public List<User> justUseResult();
79+
List<User> justUseResult();
8080

8181
// @formatter:off
8282
@Select({"select",
@@ -93,5 +93,5 @@ public interface UserDao {
9393
@Result(property = "teachers", many = @Many(resultMap = "userMap"))
9494
})
9595
// @formatter:on
96-
public User findHeadmaster();
96+
User findHeadmaster();
9797
}

src/test/java/org/apache/ibatis/submitted/orphan_result_maps/NestedCollectionMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717

1818
public interface NestedCollectionMapper {
1919

20-
public Blog selectBlogWithPosts(int blogId);
20+
Blog selectBlogWithPosts(int blogId);
2121

2222
}

src/test/java/org/apache/ibatis/submitted/orphan_result_maps/SeparateCollectionMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717

1818
public interface SeparateCollectionMapper {
1919

20-
public Blog selectBlogWithPosts(int blogId);
20+
Blog selectBlogWithPosts(int blogId);
2121

2222
}

0 commit comments

Comments
 (0)