summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/boot.clj6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/boot.clj b/src/boot.clj
index d3b1e933..5401fb4e 100644
--- a/src/boot.clj
+++ b/src/boot.clj
@@ -684,8 +684,8 @@
(. Array (setByte array idx (byte val)))
val)
-(defn int-array [len]
- (. Array (newInstance (. Integer TYPE) (int len))))
+(defn make-array [type len]
+ (. Array (newInstance type (int len))))
(import '(java.util.concurrent Executors LinkedBlockingQueue))
@@ -761,6 +761,6 @@
time
int long float double short byte boolean
aget aset aset-boolean aset-int aset-long aset-float aset-double aset-short aset-byte
- int-array
+ make-array
))