Skip to content

Commit 6a1d9b8

Browse files
committed
change argument type
1 parent 3ca9771 commit 6a1d9b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/ibatis/type/DateOnlyTypeHandler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public Date getNullableResult(CallableStatement cs, int columnIndex) throws SQLE
4646
return toDate(cs.getDate(columnIndex));
4747
}
4848

49-
private Date toDate(Date date) {
49+
private Date toDate(java.sql.Date date) {
5050
return date == null ? null : new Date(date.getTime());
5151
}
5252

0 commit comments

Comments
 (0)