Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix for set-prop! to handle boolean values correctly

  • Loading branch information...
commit 9cae97f0b3376ca1883a88b44d1cafa898a1c737 1 parent 9ae644d
@mesousa mesousa authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/borneo/core.clj
View
2  src/borneo/core.clj
@@ -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))
Please sign in to comment.
Something went wrong with that request. Please try again.