simplify data-literals
This commit is contained in:
parent
fad49204e1
commit
4ffb3f8a9a
1 changed files with 2 additions and 2 deletions
|
|
@ -5,8 +5,8 @@
|
|||
(java.nio ByteBuffer)))
|
||||
|
||||
|
||||
(defmethod print-method ObjectId [^ObjectId c ^Writer w] (.write w ^String (str "#mongo/id \"" (.toHexString c) "\"")))
|
||||
(defmethod print-dup ObjectId [^ObjectId c ^Writer w] (.write w ^String (str "#mongo/id \"" (.toHexString c) "\"")))
|
||||
(defmethod print-method ObjectId [^ObjectId c ^Writer w] (.write w (str "#mongo/id " \" (.toHexString c) \")))
|
||||
(defmethod print-dup ObjectId [^ObjectId c ^Writer w] (.write w (str "#mongo/id " \" (.toHexString c) \")))
|
||||
|
||||
(defprotocol AsObjectId
|
||||
(oid-from [this]))
|
||||
|
|
|
|||
Loading…
Reference in a new issue