Remove some of Unused import warning (#24650)
This commit is contained in:
parent
a878e6c9fa
commit
2c2b8ba001
150 changed files with 85 additions and 323 deletions
|
|
@ -23,7 +23,6 @@ import akka.cluster.ddata.ORSet
|
|||
import akka.cluster.ddata.ORSetKey
|
||||
import akka.cluster.ddata.Replicator._
|
||||
import akka.actor.Stash
|
||||
import akka.cluster.ddata.DistributedData
|
||||
import akka.persistence.PersistentActor
|
||||
import akka.persistence.SnapshotOffer
|
||||
import akka.persistence.SaveSnapshotSuccess
|
||||
|
|
@ -370,7 +369,6 @@ private[akka] class RememberEntityStarter(
|
|||
requestor: ActorRef) extends Actor with ActorLogging {
|
||||
|
||||
import context.dispatcher
|
||||
import scala.concurrent.duration._
|
||||
import RememberEntityStarter.Tick
|
||||
|
||||
var waitingForAck = ids
|
||||
|
|
@ -487,7 +485,6 @@ private[akka] class PersistentShard(
|
|||
typeName, shardId, entityProps, settings, extractEntityId, extractShardId, handOffStopMessage)
|
||||
with RememberingShard with PersistentActor with ActorLogging {
|
||||
|
||||
import ShardRegion.{ EntityId, Msg }
|
||||
import Shard._
|
||||
import settings.tuningParameters._
|
||||
|
||||
|
|
@ -583,7 +580,7 @@ private[akka] class DDataShard(
|
|||
typeName, shardId, entityProps, settings, extractEntityId, extractShardId, handOffStopMessage)
|
||||
with RememberingShard with Stash with ActorLogging {
|
||||
|
||||
import ShardRegion.{ EntityId, Msg }
|
||||
import ShardRegion.EntityId
|
||||
import Shard._
|
||||
import settings.tuningParameters._
|
||||
|
||||
|
|
|
|||
|
|
@ -4,9 +4,6 @@
|
|||
|
||||
package akka.cluster.sharding
|
||||
|
||||
import scala.concurrent.duration._
|
||||
import scala.language.postfixOps
|
||||
|
||||
import akka.cluster.sharding.ShardRegion.EntityId
|
||||
import akka.testkit.AkkaSpec
|
||||
|
||||
|
|
|
|||
|
|
@ -4,18 +4,10 @@
|
|||
|
||||
package akka.cluster.sharding
|
||||
|
||||
import akka.cluster.sharding.ShardRegion.EntityId
|
||||
import akka.testkit.AkkaSpec
|
||||
|
||||
import scala.concurrent.{ Await, Future }
|
||||
import scala.concurrent.duration._
|
||||
import akka.testkit.TimingTest
|
||||
|
||||
import scala.concurrent.duration.Duration.DurationIsOrdered
|
||||
|
||||
class ConstantRateEntityRecoveryStrategySpec extends AkkaSpec {
|
||||
|
||||
import system.dispatcher
|
||||
/*
|
||||
val strategy = EntityRecoveryStrategy.constantStrategy(system, 1.second, 2)
|
||||
"ConstantRateEntityRecoveryStrategy" must {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue