Commits

Steve Losh committed d3a7c66

Tiny bugfixes.

  • Participants
  • Parent commits b66a426

Comments (0)

Files changed (2)

File src/metrics/counters.clj

   ([^CounterMetric c] (dec! c 1))
   ([^CounterMetric c n]
    (.dec c n)
-   n))
+   c))
 
 (defn clear! [^CounterMetric c]
-  (.clear c))
+  (.clear c)
+  c)
 

File src/metrics/gauges.clj

                       (value [] (f)))))
 
 
-; Write -----------------------------------------------------------------------
+; Read ------------------------------------------------------------------------
 (defn value [^GaugeMetric g]
   (.value g))