=pro #3759 Changed to using non-deprecated ScalaTest Matchers
This commit is contained in:
parent
b8c7d7badd
commit
003609c9c5
246 changed files with 2822 additions and 2822 deletions
|
|
@ -6,7 +6,7 @@ package docs.dispatcher
|
|||
import language.postfixOps
|
||||
|
||||
import org.scalatest.{ BeforeAndAfterAll, WordSpec }
|
||||
import org.scalatest.matchers.MustMatchers
|
||||
import org.scalatest.Matchers
|
||||
import akka.testkit.AkkaSpec
|
||||
import akka.event.Logging
|
||||
import akka.event.LoggingAdapter
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ object MyUnboundedMailbox {
|
|||
|
||||
private final val queue = new ConcurrentLinkedQueue[Envelope]()
|
||||
|
||||
// these must be implemented; queue used as example
|
||||
// these should be implemented; queue used as example
|
||||
def enqueue(receiver: ActorRef, handle: Envelope): Unit =
|
||||
queue.offer(handle)
|
||||
def dequeue(): Envelope = queue.poll()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue