mirror of
https://github.com/metosin/reitit.git
synced 2025-12-16 16:01: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]
|
||||
(->> (class f)
|
||||
.getDeclaredMethods
|
||||
(filter #(= "invoke" (.getName %)))
|
||||
(filter (fn [^Method m] (= "invoke" (.getName m))))
|
||||
(map #(alength (.getParameterTypes ^Method %)))
|
||||
(set)))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue