Skip to content

Commit

Permalink
Fix for set-prop! to handle boolean values correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
mesousa committed Apr 21, 2011
1 parent 9ae644d commit 9cae97f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/borneo/core.clj
Expand Up @@ -379,7 +379,7 @@
([^PropertyContainer c key value]
(io!)
(with-tx
(if value
(if (not (nil? value))
(.setProperty c (encode-property-key key)
(if (coll? value) ; handle multiple values
(into-array (map encode-property-value value))
Expand Down

0 comments on commit 9cae97f

Please sign in to comment.