diff options
author | Ivan Topolnak <itopolnak@despegar.com> | 2013-12-23 18:16:36 -0300 |
---|---|---|
committer | Ivan Topolnak <itopolnak@despegar.com> | 2013-12-23 18:16:36 -0300 |
commit | f648ccc25197d6a0b604722c78c715a8ef6b59ae (patch) | |
tree | fba781ef590b22d296950ddb202f57bdbc5433d4 /kamon-trace/src/main/scala/akka/actor/ActorSystemMessagePassingTracing.scala | |
parent | f2a4fcd0a6190d674773228ab9589742955515b9 (diff) | |
download | Kamon-f648ccc25197d6a0b604722c78c715a8ef6b59ae.tar.gz Kamon-f648ccc25197d6a0b604722c78c715a8ef6b59ae.tar.bz2 Kamon-f648ccc25197d6a0b604722c78c715a8ef6b59ae.zip |
fix kamon repo definition
Diffstat (limited to 'kamon-trace/src/main/scala/akka/actor/ActorSystemMessagePassingTracing.scala')
-rw-r--r-- | kamon-trace/src/main/scala/akka/actor/ActorSystemMessagePassingTracing.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kamon-trace/src/main/scala/akka/actor/ActorSystemMessagePassingTracing.scala b/kamon-trace/src/main/scala/akka/actor/ActorSystemMessagePassingTracing.scala index b6b7b048..6a82782c 100644 --- a/kamon-trace/src/main/scala/akka/actor/ActorSystemMessagePassingTracing.scala +++ b/kamon-trace/src/main/scala/akka/actor/ActorSystemMessagePassingTracing.scala @@ -1,7 +1,7 @@ package akka.actor import org.aspectj.lang.annotation._ -import kamon.trace.{Trace, ContextAware} +import kamon.trace.{ Trace, ContextAware } import akka.dispatch.sysmsg.EarliestFirstSystemMessageList import org.aspectj.lang.ProceedingJoinPoint @@ -56,7 +56,7 @@ class ActorSystemMessagePassingTracing { @Around("systemMessageProcessing(messages)") def aroundSystemMessageInvoke(pjp: ProceedingJoinPoint, messages: EarliestFirstSystemMessageList): Any = { - if(messages.nonEmpty) { + if (messages.nonEmpty) { val ctx = messages.head.asInstanceOf[ContextAware].traceContext Trace.withContext(ctx)(pjp.proceed()) |