Skip to content

Commit

Permalink
Merge pull request #75 from xuwei-k/patch-2
Browse files Browse the repository at this point in the history
fix warning
  • Loading branch information
tototoshi committed Dec 10, 2020
2 parents e3bc248 + 6e07f6a commit 0ab6eaf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ trait ToTypeConverter[A, B] {
def millisToSqlType(d: { def getTime(): Long }): java.sql.Date = {
import java.util.Calendar
val cal = Calendar.getInstance()
cal.setTimeInMillis(d.getTime)
cal.setTimeInMillis(d.getTime())
cal.set(Calendar.HOUR_OF_DAY, 0)
cal.set(Calendar.MINUTE, 0)
cal.set(Calendar.SECOND, 0)
Expand Down

0 comments on commit 0ab6eaf

Please sign in to comment.