From bbbc12ce309244bc0009ec75cc49cecaacba6ee0 Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Mon, 28 Sep 2015 10:17:07 +0700 Subject: [PATCH] Misc hk --- src/taoensso/nippy.clj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/taoensso/nippy.clj b/src/taoensso/nippy.clj index 04aee44..7ae27fb 100644 --- a/src/taoensso/nippy.clj +++ b/src/taoensso/nippy.clj @@ -527,12 +527,12 @@ id-boolean (.readBoolean in) id-char (.readChar in) - id-string (read-utf8 in) + id-string (read-utf8 in) id-keyword (keyword (read-utf8 in)) ;;; Optimized, common-case types (v2.6+) - id-string-small (String. (read-bytes in :small) "UTF-8") - id-keyword-small (keyword (String. (read-bytes in :small) "UTF-8")) + id-string-small (read-utf8 in :small) + id-keyword-small (keyword (read-utf8 in :small)) id-queue (read-coll in (PersistentQueue/EMPTY)) id-sorted-set (read-coll in (sorted-set))