+build Add sort imports support. (#28780)
* Add scalafix plugin for jdk 9. * Add command alias sortImports. * Excludes some sources from SortImports. * Update SortImports to 0.4.0 * Sort imports with `sortImports` command.
This commit is contained in:
parent
ea7205eaf7
commit
0e4d41ad33
1534 changed files with 7454 additions and 6165 deletions
|
|
@ -6,13 +6,13 @@ package akka.stream.typed.javadsl
|
|||
|
||||
import java.util.function.BiFunction
|
||||
|
||||
import scala.concurrent.duration._
|
||||
|
||||
import akka.NotUsed
|
||||
import akka.actor.typed.ActorRef
|
||||
import akka.stream.javadsl.Flow
|
||||
import akka.util.JavaDurationConverters
|
||||
|
||||
import scala.concurrent.duration._
|
||||
|
||||
/**
|
||||
* Collection of Flows aimed at integrating with typed Actors.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
package akka.stream.typed.javadsl
|
||||
|
||||
import akka.actor.typed._
|
||||
import akka.NotUsed
|
||||
import akka.actor.typed._
|
||||
import akka.stream.javadsl._
|
||||
import akka.stream.typed
|
||||
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ import java.util.function.Predicate
|
|||
|
||||
import akka.actor.typed._
|
||||
import akka.japi.JavaPartialFunction
|
||||
import akka.stream.javadsl._
|
||||
import akka.stream.{ CompletionStrategy, OverflowStrategy }
|
||||
import akka.stream.javadsl._
|
||||
|
||||
/**
|
||||
* Collection of Sources aimed at integrating with typed Actors.
|
||||
|
|
|
|||
|
|
@ -4,6 +4,9 @@
|
|||
|
||||
package akka.stream.typed.scaladsl
|
||||
|
||||
import scala.annotation.implicitNotFound
|
||||
import scala.concurrent.Future
|
||||
|
||||
import akka.NotUsed
|
||||
import akka.actor.typed.ActorRef
|
||||
import akka.pattern.AskTimeoutException
|
||||
|
|
@ -11,9 +14,6 @@ import akka.stream._
|
|||
import akka.stream.scaladsl._
|
||||
import akka.util.Timeout
|
||||
|
||||
import scala.annotation.implicitNotFound
|
||||
import scala.concurrent.Future
|
||||
|
||||
/**
|
||||
* Collection of Flows aimed at integrating with typed Actors.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
|
||||
package akka.stream.typed.scaladsl
|
||||
|
||||
import akka.NotUsed
|
||||
import akka.actor.typed._
|
||||
import akka.stream.scaladsl._
|
||||
import akka.NotUsed
|
||||
|
||||
/**
|
||||
* Collection of Sinks aimed at integrating with typed Actors.
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
package akka.stream.typed.scaladsl
|
||||
|
||||
import akka.actor.typed._
|
||||
import akka.stream.scaladsl._
|
||||
import akka.stream.{ CompletionStrategy, OverflowStrategy }
|
||||
import akka.stream.scaladsl._
|
||||
|
||||
/**
|
||||
* Collection of Sources aimed at integrating with typed Actors.
|
||||
|
|
|
|||
|
|
@ -4,14 +4,15 @@
|
|||
|
||||
package akka.stream.typed.scaladsl
|
||||
|
||||
import org.scalatest.wordspec.AnyWordSpecLike
|
||||
|
||||
import akka.actor.testkit.typed.scaladsl._
|
||||
import akka.actor.typed.ActorRef
|
||||
import akka.actor.typed.scaladsl.Behaviors
|
||||
import akka.stream.{ CompletionStrategy, OverflowStrategy }
|
||||
import akka.stream.scaladsl.Keep
|
||||
import akka.stream.scaladsl.Sink
|
||||
import akka.stream.scaladsl.Source
|
||||
import akka.actor.testkit.typed.scaladsl._
|
||||
import org.scalatest.wordspec.AnyWordSpecLike
|
||||
|
||||
object ActorSourceSinkSpec {
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,11 @@
|
|||
|
||||
package akka.stream.typed.scaladsl
|
||||
|
||||
import scala.concurrent.Future
|
||||
import scala.util.Success
|
||||
|
||||
import org.scalatest.wordspec.AnyWordSpecLike
|
||||
|
||||
import akka.Done
|
||||
import akka.actor.testkit.typed.scaladsl.ScalaTestWithActorTestKit
|
||||
import akka.actor.typed.scaladsl.Behaviors
|
||||
|
|
@ -12,10 +17,6 @@ import akka.stream.Materializer
|
|||
import akka.stream.scaladsl.Sink
|
||||
import akka.stream.scaladsl.Source
|
||||
|
||||
import scala.concurrent.Future
|
||||
import scala.util.Success
|
||||
import org.scalatest.wordspec.AnyWordSpecLike
|
||||
|
||||
class MaterializerForTypedSpec extends ScalaTestWithActorTestKit with AnyWordSpecLike {
|
||||
|
||||
"Materialization in typed" should {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue