Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixes for equiv compat

  • Loading branch information...
commit 29b42bdfec1726976d5c1125d10ee0d811d197ff 1 parent bb71105
@richhickey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/main/clojure/clojure/contrib/pprint/cl_format.clj
View
2  src/main/clojure/clojure/contrib/pprint/cl_format.clj
@@ -245,7 +245,7 @@ http://www.lispworks.com/documentation/HyperSpec/Body/22_c.htm
for improved performance"
[base val]
(let [format-str (get java-base-formats base)]
- (if (and format-str (integer? val))
+ (if (and format-str (integer? val) (-> val class .getName (.startsWith "java.")))
(clojure.core/format format-str val)
(base-str base val))))
Please sign in to comment.
Something went wrong with that request. Please try again.