Remove some unused import in akka-stream's boilerplate templates. (#26221)
This commit is contained in:
parent
c217ef55a4
commit
5a30b54790
5 changed files with 3 additions and 8 deletions
|
|
@ -5,7 +5,7 @@
|
|||
package akka.stream.javadsl
|
||||
|
||||
import akka.stream.scaladsl
|
||||
import akka.stream.{ Inlet, Shape, Graph }
|
||||
import akka.stream.{ Shape, Graph }
|
||||
import akka.japi.function
|
||||
import akka.NotUsed
|
||||
|
||||
|
|
@ -39,6 +39,6 @@ private[stream] abstract class GraphCreate {
|
|||
def create1[[#S1 <: Shape#], S <: Shape, [#M1#], M]([#g1: Graph[S1, M1]#], combineMat: function.Function1[[#M1#], M],
|
||||
block: function.Function2[GraphDSL.Builder[M], [#S1#], S]): Graph[S, M] =
|
||||
scaladsl.GraphDSL.create([#g1#])(combineMat.apply) { b => ([#s1#]) => block.apply(b.asJava, [#s1#]) }#
|
||||
|
||||
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,8 +5,7 @@
|
|||
package akka.stream.scaladsl
|
||||
|
||||
import akka.NotUsed
|
||||
import akka.stream.impl.TraversalBuilder
|
||||
import akka.stream.{ Graph, Attributes, Shape }
|
||||
import akka.stream.{ Graph, Shape }
|
||||
|
||||
trait GraphApply {
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -5,11 +5,9 @@
|
|||
package akka.stream.scaladsl
|
||||
|
||||
import akka.stream._
|
||||
import akka.stream.impl.StreamLayout
|
||||
import akka.stream.stage._
|
||||
|
||||
object UnzipWithApply {
|
||||
import scala.language.implicitConversions
|
||||
|
||||
abstract trait UnzipWithCreator[In, Out, T] {
|
||||
def create(unzipper: Function1[In, Out]): T
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
package akka.stream.scaladsl
|
||||
|
||||
import akka.stream._
|
||||
import akka.stream.impl.StreamLayout
|
||||
import akka.stream.stage.{ GraphStage, GraphStageLogic, InHandler, OutHandler }
|
||||
|
||||
trait ZipLatestWithApply {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
package akka.stream.scaladsl
|
||||
|
||||
import akka.stream._
|
||||
import akka.stream.impl.StreamLayout
|
||||
import akka.stream.stage._
|
||||
|
||||
trait ZipWithApply {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue