summaryrefslogtreecommitdiff
path: root/src/boot.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot.clj')
-rw-r--r--src/boot.clj6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/boot.clj b/src/boot.clj
index 63103355..f27b7c0d 100644
--- a/src/boot.clj
+++ b/src/boot.clj
@@ -1477,12 +1477,12 @@ not-every? (comp not every?))
(defn bigint
"Coerce to BigInteger"
{:tag BigInteger}
- [x] (BigInteger.valueOf x))
+ [x] (. BigInteger valueOf x))
(defn bigdec
"Coerce to BigDecimal"
{:tag BigDecimal}
- [x] (BigDecimal.valueOf x))
+ [x] (. BigDecimal valueOf x))
(import '(java.lang.reflect Array))
@@ -2390,7 +2390,7 @@ not-every? (comp not every?))
(defn add-classpath
"Adds the url (String or URL object) to the classpath per URLClassLoader.addURL"
- [url] (clojure.lang.RT.addURL url))
+ [url] (. clojure.lang.RT addURL url))
(defn vec
"Creates a new vector containing the contents of coll."