diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2016-03-15 23:51:20 +0100 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2016-03-15 23:51:20 +0100 |
commit | 71e777ebec4f244f5233788fd8af2e062cf14f24 (patch) | |
tree | db317e4bd0c49d06881f95925e1056c1938fa3f6 /kamon-core/src/main | |
parent | 60880bb1b6ec15f40ecacf5ab46c849a86ce4b60 (diff) | |
download | Kamon-71e777ebec4f244f5233788fd8af2e062cf14f24.tar.gz Kamon-71e777ebec4f244f5233788fd8af2e062cf14f24.tar.bz2 Kamon-71e777ebec4f244f5233788fd8af2e062cf14f24.zip |
minor formatting changes.
Diffstat (limited to 'kamon-core/src/main')
-rw-r--r-- | kamon-core/src/main/scala/kamon/ModuleLoader.scala | 4 | ||||
-rw-r--r-- | kamon-core/src/main/scala/kamon/metric/EntityRecorder.scala | 2 |
2 files changed, 3 insertions, 3 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) |