Skip to content

Commit 5d0d25b

Browse files
committed
Fixed a compilation error on jdk 6.
1 parent 177665d commit 5d0d25b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/apache/ibatis/submitted/foreach_map/ForEachMapTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ public void shouldSubstituteIndexWithKey() throws Exception {
103103
MapParam mapParam = new MapParam();
104104
mapParam.getMap().put("col_a", 22);
105105
mapParam.getMap().put("col_b", 222);
106-
int count = sqlSession.selectOne("sel_key_cols", mapParam);
107-
Assert.assertEquals(1, count);
106+
Integer count = sqlSession.selectOne("sel_key_cols", mapParam);
107+
Assert.assertEquals(Integer.valueOf(1), count);
108108
}
109109

110110
private SqlSession sqlSession;

0 commit comments

Comments
 (0)