Removing redundant isOff call

This commit is contained in:
Viktor Klang 2011-04-28 18:05:28 +02:00
parent 7d5bc13163
commit 9a582b7c49

View file

@ -92,7 +92,7 @@ trait MessageDispatcher {
val future = new DefaultCompletableFuture[T](timeout)
if (active.isOff)
guard withGuard { if (active.isOff) active.switchOn { start } }
guard withGuard { active.switchOn { start } }
executeFuture(FutureInvocation[T](future, block, futureCleanup))
future