diff options
author | Diego <diegolparra@gmail.com> | 2014-05-09 13:17:04 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2014-05-09 13:17:04 -0300 |
commit | 03c2885b566e8bf38f6242a205cd1077b7a7d41c (patch) | |
tree | 55919026718aa39117a389b1f2e1222e7fe93755 | |
parent | 19bd9f9ff70b5cda7937217047085645c09cb76d (diff) | |
download | Kamon-03c2885b566e8bf38f6242a205cd1077b7a7d41c.tar.gz Kamon-03c2885b566e8bf38f6242a205cd1077b7a7d41c.tar.bz2 Kamon-03c2885b566e8bf38f6242a205cd1077b7a7d41c.zip |
= core: code format
-rw-r--r-- | kamon-core/src/main/scala/kamon/util/Contexts.scala | 4 | ||||
-rw-r--r-- | kamon-core/src/test/scala/kamon/metrics/instrument/MinMaxCounterSpec.scala | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/kamon-core/src/main/scala/kamon/util/Contexts.scala b/kamon-core/src/main/scala/kamon/util/Contexts.scala index d2fe6360..be0d367e 100644 --- a/kamon-core/src/main/scala/kamon/util/Contexts.scala +++ b/kamon-core/src/main/scala/kamon/util/Contexts.scala @@ -18,7 +18,7 @@ import akka.actor.ActorSystem * ========================================================================================= */ object Contexts { - val kamonDefaultDispatcher = "kamon.default-dispatcher" + val kamonDefaultDispatcher = "kamon.default-dispatcher" - def lookupExecutionContext(id:String)(implicit system: ActorSystem) = system.dispatchers.lookup(id) + def lookupExecutionContext(id: String)(implicit system: ActorSystem) = system.dispatchers.lookup(id) } diff --git a/kamon-core/src/test/scala/kamon/metrics/instrument/MinMaxCounterSpec.scala b/kamon-core/src/test/scala/kamon/metrics/instrument/MinMaxCounterSpec.scala index a309f92e..4051f2ba 100644 --- a/kamon-core/src/test/scala/kamon/metrics/instrument/MinMaxCounterSpec.scala +++ b/kamon-core/src/test/scala/kamon/metrics/instrument/MinMaxCounterSpec.scala @@ -13,12 +13,11 @@ package kamon.metrics.instrument * and limitations under the License. * ========================================================================================= */ -import org.scalatest.{Matchers, WordSpecLike} +import org.scalatest.{ Matchers, WordSpecLike } import kamon.metrics.instruments.counter.MinMaxCounter class MinMaxCounterSpec extends WordSpecLike with Matchers { - "the MinMaxCounter" should { "increment" in { val counter = MinMaxCounter() @@ -102,7 +101,7 @@ class MinMaxCounterSpec extends WordSpecLike with Matchers { counter.increment(200) - val (_,maxAfterCollectAndAddSomeValues, _) = counter.collect() + val (_, maxAfterCollectAndAddSomeValues, _) = counter.collect() maxAfterCollectAndAddSomeValues should be(350) } |