summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/boot.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot.clj b/src/boot.clj
index 996a5255..ae925870 100644
--- a/src/boot.clj
+++ b/src/boot.clj
@@ -306,7 +306,7 @@
{:tag String}
([] "")
([#^Object x]
- (if x (. x (toString)) ""))
+ (if (nil? x) "" (. x (toString))))
([x & ys]
(loop [sb (new StringBuilder (str x)) more ys]
(if more