Skip to content
Snippets Groups Projects
Commit 3aebb037 authored by Allen Gilliland's avatar Allen Gilliland
Browse files

fix reflection warning.

parent 595b790a
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,7 @@
;;; ## Date Stuff
(defn is-temporal? [v]
(and v (contains? #{:java.sql.Timestamp :java.sql.Date :java.util.Date :org.joda.time.DateTime} (keyword (.getName (type v))))))
(and v (contains? #{:java.sql.Timestamp :java.sql.Date :java.util.Date :org.joda.time.DateTime} (keyword (.getName ^Class (type v))))))
(defn new-sql-timestamp
"`java.sql.Date` doesn't have an empty constructor so this is a convenience that lets you make one with the current date.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment