aboutsummaryrefslogtreecommitdiff
path: root/kamon-core
diff options
context:
space:
mode:
authorIvan Topolnjak <ivantopo@gmail.com>2016-03-15 23:51:20 +0100
committerIvan Topolnjak <ivantopo@gmail.com>2016-03-15 23:51:20 +0100
commitd5ed007f3ac76fd1e1146d00a6665a4690af5c83 (patch)
tree9922081c3c13c8cbd5693498874edaca77224322 /kamon-core
parent35bae24fc8ccec98361151c3215627525ed1a2fb (diff)
downloadKamon-d5ed007f3ac76fd1e1146d00a6665a4690af5c83.tar.gz
Kamon-d5ed007f3ac76fd1e1146d00a6665a4690af5c83.tar.bz2
Kamon-d5ed007f3ac76fd1e1146d00a6665a4690af5c83.zip
minor formatting changes.
Diffstat (limited to 'kamon-core')
-rw-r--r--kamon-core/src/main/scala/kamon/ModuleLoader.scala4
-rw-r--r--kamon-core/src/main/scala/kamon/metric/EntityRecorder.scala2
-rw-r--r--kamon-core/src/test/scala/kamon/util/executors/ExecutorServiceMetricsSpec.scala2
3 files changed, 4 insertions, 4 deletions
diff --git a/kamon-core/src/main/scala/kamon/ModuleLoader.scala b/kamon-core/src/main/scala/kamon/ModuleLoader.scala
index b594d4cf..989d8cd9 100644
--- a/kamon-core/src/main/scala/kamon/ModuleLoader.scala
+++ b/kamon-core/src/main/scala/kamon/ModuleLoader.scala
@@ -41,12 +41,12 @@ private[kamon] class ModuleLoaderExtension(system: ExtendedActorSystem) extends
system.dynamicAccess.getObjectFor[ExtensionId[Kamon.Extension]](extensionClass).map { moduleID ⇒
log.debug(s"Auto starting the [$name] module.")
moduleID.get(system)
-
+
} recover {
case th: Throwable ⇒ log.error(s"Failed to auto start the [$name] module.", th)
}
- case other =>
+ case other ⇒
}
diff --git a/kamon-core/src/main/scala/kamon/metric/EntityRecorder.scala b/kamon-core/src/main/scala/kamon/metric/EntityRecorder.scala
index c1392d4d..810475b7 100644
--- a/kamon-core/src/main/scala/kamon/metric/EntityRecorder.scala
+++ b/kamon-core/src/main/scala/kamon/metric/EntityRecorder.scala
@@ -34,7 +34,7 @@ trait EntityRecorderFactory[T <: EntityRecorder] {
def createRecorder(instrumentFactory: InstrumentFactory): T
}
-abstract class EntityRecorderFactoryCompanion[T <: EntityRecorder](val category: String, builder: (InstrumentFactory) => T)
+abstract class EntityRecorderFactoryCompanion[T <: EntityRecorder](val category: String, builder: (InstrumentFactory) ⇒ T)
extends EntityRecorderFactory[T] {
def createRecorder(instrumentFactory: InstrumentFactory): T = builder(instrumentFactory)
diff --git a/kamon-core/src/test/scala/kamon/util/executors/ExecutorServiceMetricsSpec.scala b/kamon-core/src/test/scala/kamon/util/executors/ExecutorServiceMetricsSpec.scala
index 4e5394f8..a0275b33 100644
--- a/kamon-core/src/test/scala/kamon/util/executors/ExecutorServiceMetricsSpec.scala
+++ b/kamon-core/src/test/scala/kamon/util/executors/ExecutorServiceMetricsSpec.scala
@@ -19,7 +19,7 @@ package kamon.util.executors
import java.util.concurrent.Executors
import kamon.Kamon
-import kamon.metric.{Entity, EntityRecorder}
+import kamon.metric.{ Entity, EntityRecorder }
import kamon.testkit.BaseKamonSpec
class ExecutorServiceMetricsSpec extends BaseKamonSpec("executor-service-metrics-spec") {