Update scalariform (#23778) (#23783)

This commit is contained in:
Arnout Engelen 2017-10-06 10:30:28 +02:00 committed by GitHub
parent 63ccdeec16
commit b1df13d4d4
221 changed files with 1528 additions and 1580 deletions

View file

@ -3,7 +3,7 @@
*/
package akka.stream.tck
import java.util.concurrent.{ Flow => JavaFlow }
import java.util.concurrent.{ Flow JavaFlow }
import akka.NotUsed
import akka.stream.scaladsl.{ Flow, JavaFlowSupport, Sink, Source }
@ -14,9 +14,8 @@ class IterablePublisherViaJavaFlowPublisherTest extends AkkaPublisherVerificatio
override def createPublisher(elements: Long): Publisher[Int] = {
val sourceViaJavaFlowPublisher: JavaFlow.Publisher[Int] = Source(iterable(elements))
.runWith(JavaFlowSupport.Sink.asPublisher(fanout = false))
val javaFlowPublisherIntoAkkaSource: Source[Int, NotUsed] =
val javaFlowPublisherIntoAkkaSource: Source[Int, NotUsed] =
JavaFlowSupport.Source.fromPublisher(sourceViaJavaFlowPublisher)
javaFlowPublisherIntoAkkaSource