summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Hickey <richhickey@gmail.com>2008-03-21 11:59:46 +0000
committerRich Hickey <richhickey@gmail.com>2008-03-21 11:59:46 +0000
commit2cda4c02477c587d429c94efc861b2e0a481aa48 (patch)
tree9aa5c3a3a8cf4614bfca3eae034cd60b3b888afb
parent7a2d9951b93b6bcb7d32af70ebfba05612d3f6ad (diff)
(str false) => "false"
-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