fix akka-cluster-sharding-typed/test:compile (#26046)

Weird that CI didn't catch this
This commit is contained in:
Arnout Engelen 2018-12-05 11:30:38 +01:00 committed by Christopher Batey
parent bf714dd72a
commit 7afd847758

View file

@ -8,6 +8,7 @@ import java.util.concurrent.ConcurrentHashMap
import java.util.concurrent.CountDownLatch
import java.util.concurrent.TimeUnit
import scala.concurrent.duration._
import scala.concurrent.ExecutionContext
import scala.concurrent.Future
import scala.concurrent.Promise
@ -81,7 +82,7 @@ object ClusterShardingPersistenceSpec {
case cmd @ AddWithConfirmation(s)
Effect.persist(s)
.thenReply(cmd)(newState Done)
.thenReply(cmd)(_ Done)
case Get(replyTo)
replyTo ! s"$entityId:$state"
@ -90,7 +91,7 @@ object ClusterShardingPersistenceSpec {
case cmd @ PassivateAndPersist(s)
shard ! Passivate(ctx.self)
Effect.persist(s)
.thenReply(cmd)(newState Done)
.thenReply(cmd)(_ Done)
case Echo(msg, replyTo)
Effect.none.thenRun(_ replyTo ! msg)