Source

metrics-clojure / src / metrics / histograms.clj

Diff from to

src/metrics/histograms.clj

 
 
 ; Write -----------------------------------------------------------------------
-(defn update!
-  ([^HistogramMetric h] (update! h 1))
-  ([^HistogramMetric h n]
-   (.update h (long n))
-   h))
+(defn update! [^HistogramMetric h n]
+  (.update h (long n))
+  h)
 
 (defn clear! [^HistogramMetric h]
   (.clear h)