diff --git a/akka-testkit/src/main/scala/akka/testkit/CallingThreadDispatcher.scala b/akka-testkit/src/main/scala/akka/testkit/CallingThreadDispatcher.scala index 96d9f8241a..af2c44611a 100644 --- a/akka-testkit/src/main/scala/akka/testkit/CallingThreadDispatcher.scala +++ b/akka-testkit/src/main/scala/akka/testkit/CallingThreadDispatcher.scala @@ -11,7 +11,6 @@ import scala.annotation.tailrec import com.typesafe.config.Config -import CallingThreadDispatcher.Id import akka.actor.{ ExtensionIdProvider, ExtensionId, Extension, ExtendedActorSystem, ActorRef, ActorCell } import akka.dispatch.{ TaskInvocation, SystemMessage, Suspend, Resume, MessageDispatcherConfigurator, MessageDispatcher, Mailbox, Envelope, DispatcherPrerequisites, DefaultSystemMessageQueue } import akka.util.duration.intToDurationInt diff --git a/akka-testkit/src/main/scala/akka/testkit/TestActorRef.scala b/akka-testkit/src/main/scala/akka/testkit/TestActorRef.scala index 7b3ee7ebce..18618a8f0c 100644 --- a/akka-testkit/src/main/scala/akka/testkit/TestActorRef.scala +++ b/akka-testkit/src/main/scala/akka/testkit/TestActorRef.scala @@ -6,11 +6,7 @@ package akka.testkit import akka.actor._ import akka.util.{ ReflectiveAccess, Duration } -import com.eaio.uuid.UUID -import akka.actor.Props._ -import akka.actor.ActorSystem import java.util.concurrent.atomic.AtomicLong -import akka.event.EventStream import scala.collection.immutable.Stack import akka.dispatch._ import akka.pattern.ask diff --git a/akka-testkit/src/main/scala/akka/testkit/TestEventListener.scala b/akka-testkit/src/main/scala/akka/testkit/TestEventListener.scala index d191b11eab..56ced17370 100644 --- a/akka-testkit/src/main/scala/akka/testkit/TestEventListener.scala +++ b/akka-testkit/src/main/scala/akka/testkit/TestEventListener.scala @@ -3,13 +3,11 @@ */ package akka.testkit -import scala.annotation.tailrec import scala.util.matching.Regex import akka.actor.{ DeadLetter, ActorSystem, Terminated } import akka.dispatch.{ SystemMessage, Terminate } import akka.event.Logging.{ Warning, LogEvent, InitializeLogger, Info, Error, Debug, LoggerInitialized } import akka.event.Logging -import akka.testkit.TestEvent.{ UnMute, Mute } import akka.util.Duration /** diff --git a/akka-testkit/src/main/scala/akka/testkit/TestFSMRef.scala b/akka-testkit/src/main/scala/akka/testkit/TestFSMRef.scala index fd3567f19c..f6d0ecfbce 100644 --- a/akka-testkit/src/main/scala/akka/testkit/TestFSMRef.scala +++ b/akka-testkit/src/main/scala/akka/testkit/TestFSMRef.scala @@ -6,10 +6,7 @@ package akka.testkit import akka.actor._ import akka.util._ -import com.eaio.uuid.UUID -import akka.actor.ActorSystem -import akka.event.EventStream -import akka.dispatch.{ DispatcherPrerequisites, Mailbox } +import akka.dispatch.DispatcherPrerequisites /** * This is a specialised form of the TestActorRef with support for querying and