Prevent "random-uuid already refers to" warning
In Clojure 1.11 the function random-uuid was introduced in clojure.core causing: > WARNING: random-uuid already refers to: #'clojure.core/random-uuid in namespace: monger.util, being replaced by: #'monger.util/random-uuid
This commit is contained in:
parent
32407c92f1
commit
69bb24b3d9
1 changed files with 1 additions and 0 deletions
|
|
@ -32,6 +32,7 @@
|
||||||
;; ----------------------------------------------------------------------------------
|
;; ----------------------------------------------------------------------------------
|
||||||
|
|
||||||
(ns ^{:doc "Provides various utility functions, primarily for working with document ids."} monger.util
|
(ns ^{:doc "Provides various utility functions, primarily for working with document ids."} monger.util
|
||||||
|
(:refer-clojure :exclude [random-uuid])
|
||||||
(:import java.security.SecureRandom
|
(:import java.security.SecureRandom
|
||||||
java.math.BigInteger
|
java.math.BigInteger
|
||||||
org.bson.types.ObjectId
|
org.bson.types.ObjectId
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue