Skip to content

Commit e08cdd1

Browse files
authored
Address reflection warnings
1 parent 702c120 commit e08cdd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lambdaisland/deep_diff/diff.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
(defn- val-type [val]
101101
(let [t (type val)]
102102
(if (class? t)
103-
(symbol (.getName t))
103+
(symbol (.getName ^Class t))
104104
t)))
105105

106106
(defn- diff-map [exp act]
@@ -143,7 +143,7 @@
143143
(extend Object
144144
Diff
145145
{:diff-similar (fn [exp act]
146-
(if (.isArray (.getClass exp))
146+
(if (.isArray (.getClass ^Object exp))
147147
(diff-seq exp act)
148148
(diff-atom exp act)))})
149149

0 commit comments

Comments
 (0)