Commits

Steve Losh committed e6b15a1

Type hint to avoid reflection.

Comments (0)

Files changed (1)

metrics-clojure-core/src/metrics/utils.clj

          ^String (last title))))
 
 (defn all-metrics []
-  (letfn [(parse-name [metric-name]
+  (letfn [(parse-name [^MetricName metric-name]
             (str (.getGroup metric-name)
                  "." (.getType metric-name)
                  "." (.getName metric-name)))