From 815b7bb1b7d4c3fe5ce1b29762b96a1a5275d613 Mon Sep 17 00:00:00 2001 From: Yevgeni Tsodikov Date: Sun, 10 Sep 2023 11:46:01 +0300 Subject: [PATCH] PR #69 code review comments [1] --- project.clj | 2 +- src/main/clojure/aerospike_clj/utils.clj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/project.clj b/project.clj index d735bd6..095aa8d 100644 --- a/project.clj +++ b/project.clj @@ -23,7 +23,7 @@ [cheshire "5.11.0"] [tortue/spy "2.14.0"] [com.fasterxml.jackson.core/jackson-databind "2.11.2"] - [clj-kondo "2022.04.25"] + [clj-kondo "2023.09.07"] [com.clojure-goes-fast/clj-java-decompiler "0.3.4"]] :eftest {:multithread? false :report eftest.report.junit/report diff --git a/src/main/clojure/aerospike_clj/utils.clj b/src/main/clojure/aerospike_clj/utils.clj index 601fd3e..2c7925d 100644 --- a/src/main/clojure/aerospike_clj/utils.clj +++ b/src/main/clojure/aerospike_clj/utils.clj @@ -21,7 +21,7 @@ (= bin-names [""])) (defn string-keys? - {:docstring "Predicate function to determine whether all keys provided for bins are strings." + {:doc "Predicate function to determine whether all keys provided for bins are strings." :deprecated "3.1.0"} [bin-names] (every? string? bin-names)) @@ -39,7 +39,7 @@ (get reverse-boolean-replacements bin-value bin-value)) (defn v->array - "An optimized way to convert vectors into Java arrays of type `clazz`." + "An optimized way to convert [[java.util.Collection]]s into Java arrays of type `clazz`." ([clazz ^Collection v] (.toArray v ^"[Ljava.lang.Object;" (make-array clazz 0))) ([clazz mapper-fn ^Collection v]