Eliminate a reflection warning

This commit is contained in:
Michael S. Klishin 2011-09-09 06:58:57 +04:00
parent 1a9e0715cd
commit 60e93b4275

View file

@ -33,7 +33,7 @@
(> (count (str (.get result "err"))) 0))
(updated-existing?
[^DBObject result]
(let [v (.get result "updatedExisting")]
(let [v ^Boolean (.get result "updatedExisting")]
(and v (Boolean/valueOf v))))