mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 08:21:11 +00:00
Fix reflection warning
This commit is contained in:
parent
aa19d9af46
commit
e5fbb51138
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@
|
||||||
(defn- arities [f]
|
(defn- arities [f]
|
||||||
(->> (class f)
|
(->> (class f)
|
||||||
.getDeclaredMethods
|
.getDeclaredMethods
|
||||||
(filter #(= "invoke" (.getName %)))
|
(filter (fn [^Method m] (= "invoke" (.getName m))))
|
||||||
(map #(alength (.getParameterTypes ^Method %)))
|
(map #(alength (.getParameterTypes ^Method %)))
|
||||||
(set)))
|
(set)))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue