From c423f3da8a6a428d8777e00272f582a15ff72a05 Mon Sep 17 00:00:00 2001 From: Ben Edwards Date: Wed, 18 Feb 2015 18:33:37 +0000 Subject: [PATCH] Remove spurious debug code, bump to 0.3.1 --- README.md | 2 +- build.sbt | 2 +- .../scala/io/artfuldodge/util/stats/MetricStatsReceiver.scala | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1b6ce75..c3d8966 100644 --- a/README.md +++ b/README.md @@ -35,5 +35,5 @@ To add to your sbt project: ``` resolvers += "benjumanji" at "http://dl.bintray.com/benjumanji/maven" -libraryDependencies += "io.artfuldodge" %% "util-stats-dropwizard" % "0.3" +libraryDependencies += "io.artfuldodge" %% "util-stats-dropwizard" % "0.3.1" ``` diff --git a/build.sbt b/build.sbt index e8bff43..e285d3f 100644 --- a/build.sbt +++ b/build.sbt @@ -4,7 +4,7 @@ organization := "io.artfuldodge" name := "util-stats-dropwizard" -version := "0.3" +version := "0.3.1" description := "A stats reciever backed by a dropwizard metrics registry" diff --git a/src/main/scala/io/artfuldodge/util/stats/MetricStatsReceiver.scala b/src/main/scala/io/artfuldodge/util/stats/MetricStatsReceiver.scala index ebd4964..03d7bbe 100644 --- a/src/main/scala/io/artfuldodge/util/stats/MetricStatsReceiver.scala +++ b/src/main/scala/io/artfuldodge/util/stats/MetricStatsReceiver.scala @@ -44,7 +44,6 @@ class MetricsStatsReceiver(metrics: MetricRegistry) extends StatsReceiverWithCum protected[this] def registerGauge(names: Seq[String], f: => Float) { val dotted: String = toDotted(names) - println(s"adding gauge with name $dotted") metrics.register(dotted, new MetricsGauge[Float] { def getValue(): Float = f