File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/org/apache/ibatis/binding Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ void shouldSelectBlogWithPostsUsingSubSelect() {
106
106
void shouldFindPostsInList () {
107
107
try (SqlSession session = sqlSessionFactory .openSession ()) {
108
108
BoundAuthorMapper mapper = session .getMapper (BoundAuthorMapper .class );
109
- List <Post > posts = mapper .findPostsInList (new ArrayList <Integer >() {
109
+ List <Post > posts = mapper .findPostsInList (new ArrayList <>() {
110
110
private static final long serialVersionUID = 1L ;
111
111
{
112
112
add (1 );
@@ -430,7 +430,7 @@ void shouldExecuteBoundSelectOneBlogStatementWithConstructorUsingXMLConfig() {
430
430
void shouldSelectOneBlogAsMap () {
431
431
try (SqlSession session = sqlSessionFactory .openSession ()) {
432
432
BoundBlogMapper mapper = session .getMapper (BoundBlogMapper .class );
433
- Map <String , Object > blog = mapper .selectBlogAsMap (new HashMap <String , Object >() {
433
+ Map <String , Object > blog = mapper .selectBlogAsMap (new HashMap <>() {
434
434
private static final long serialVersionUID = 1L ;
435
435
{
436
436
put ("id" , 1 );
You can’t perform that action at this time.
0 commit comments