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
|
|
@ -12,18 +12,16 @@ import akka.cluster.ClusterEvent._
|
|||
import akka.dispatch.{ RequiresMessageQueue, UnboundedMessageQueueSemantics }
|
||||
import akka.Done
|
||||
import akka.actor.CoordinatedShutdown.Reason
|
||||
import akka.cluster.ClusterUserAction.JoinTo
|
||||
import akka.pattern.ask
|
||||
import akka.remote.QuarantinedEvent
|
||||
import akka.util.Timeout
|
||||
import com.typesafe.config.{ Config, ConfigFactory }
|
||||
import com.typesafe.config.Config
|
||||
|
||||
import scala.collection.immutable
|
||||
import scala.concurrent.duration._
|
||||
import scala.concurrent.Future
|
||||
import scala.concurrent.Promise
|
||||
import scala.util.control.NonFatal
|
||||
import language.existentials
|
||||
|
||||
/**
|
||||
* Base trait for all cluster messages. All ClusterMessage's are serializable.
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ package akka.cluster
|
|||
|
||||
import scala.annotation.tailrec
|
||||
import scala.collection.immutable
|
||||
import akka.actor.{ Actor, ActorLogging, ActorPath, ActorRef, ActorSelection, Address, DeadLetterSuppression, RootActorPath }
|
||||
import akka.actor.{ Actor, ActorLogging, ActorPath, ActorSelection, Address, DeadLetterSuppression, RootActorPath }
|
||||
import akka.cluster.ClusterEvent._
|
||||
import akka.remote.FailureDetectorRegistry
|
||||
import akka.remote.HeartbeatMessage
|
||||
|
|
|
|||
|
|
@ -4,15 +4,14 @@
|
|||
|
||||
package akka.cluster
|
||||
|
||||
import akka.actor.{ Actor, ActorLogging, ActorSelection, Address, NoSerializationVerificationNeeded, RootActorPath }
|
||||
import akka.actor.{ Actor, ActorLogging, ActorSelection, Address, NoSerializationVerificationNeeded }
|
||||
import akka.annotation.InternalApi
|
||||
import akka.cluster.ClusterEvent._
|
||||
import akka.cluster.ClusterSettings.DataCenter
|
||||
import akka.event.Logging
|
||||
import akka.remote.FailureDetectorRegistry
|
||||
import akka.util.ConstantFun
|
||||
|
||||
import scala.collection.{ SortedSet, immutable, breakOut }
|
||||
import scala.collection.{ SortedSet, breakOut }
|
||||
|
||||
/**
|
||||
* INTERNAL API
|
||||
|
|
|
|||
|
|
@ -6,9 +6,8 @@ package akka.cluster
|
|||
|
||||
import akka.ConfigurationException
|
||||
import akka.actor.{ ActorSystem, ExtendedActorSystem, Props }
|
||||
import com.typesafe.config.Config
|
||||
|
||||
import scala.concurrent.duration.{ Duration, FiniteDuration }
|
||||
import scala.concurrent.duration.FiniteDuration
|
||||
|
||||
/**
|
||||
* INTERNAL API
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
package akka.cluster
|
||||
|
||||
import scala.collection.{ SortedSet, immutable }
|
||||
import scala.collection.immutable
|
||||
import ClusterSettings.DataCenter
|
||||
import MemberStatus._
|
||||
import akka.annotation.InternalApi
|
||||
|
|
|
|||
|
|
@ -4,13 +4,11 @@
|
|||
|
||||
package akka.cluster
|
||||
|
||||
import akka.actor.{ ActorSystem, Address }
|
||||
import akka.actor.ActorSystem
|
||||
import akka.cluster.MemberStatus.Removed
|
||||
import akka.testkit.TestKitBase
|
||||
import com.typesafe.config.{ Config, ConfigFactory }
|
||||
|
||||
import scala.collection.{ immutable ⇒ im }
|
||||
|
||||
/**
|
||||
* Builds on TestKitBase to provide some extra utilities to run cluster test.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -4,15 +4,11 @@
|
|||
|
||||
package akka.cluster
|
||||
|
||||
import akka.actor.{ ActorSystem, Address }
|
||||
import akka.cluster.InternalClusterAction.LeaderActionsTick
|
||||
import akka.cluster.MemberStatus.{ Removed, Up }
|
||||
import akka.cluster.MemberStatus.Up
|
||||
import akka.testkit.{ AkkaSpec, LongRunningTest }
|
||||
import com.typesafe.config.{ Config, ConfigFactory }
|
||||
import org.scalatest.{ Matchers, WordSpec }
|
||||
|
||||
import scala.concurrent.duration._
|
||||
import scala.collection.JavaConverters._
|
||||
import scala.collection.{ immutable ⇒ im }
|
||||
|
||||
object JoinConfigCompatCheckerSpec {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue