1. Steve Losh
  2. metrics-clojure

Commits

Steve Losh  committed e6b15a1

Type hint to avoid reflection.

  • Participants
  • Parent commits 2d2aac2
  • Branches default

Comments (0)

Files changed (1)

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

View file
  • Ignore whitespace
          ^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)))