He-Pin commented on code in PR #2460:
URL: https://github.com/apache/pekko/pull/2460#discussion_r2507839920


##########
stream-tests-tck/src/test/scala/org/apache/pekko/stream/tck/IterablePublisherViaJavaFlowPublisherTest.scala:
##########
@@ -17,18 +17,18 @@ import java.util.concurrent.{ Flow => JavaFlow }
 
 import org.apache.pekko
 import pekko.NotUsed
-import pekko.stream.scaladsl.{ JavaFlowSupport, Sink, Source }
+import pekko.stream.scaladsl.{ Sink, Source }
 
 import org.reactivestreams._
 
 class IterablePublisherViaJavaFlowPublisherTest extends 
PekkoPublisherVerification[Int] {
 
   override def createPublisher(elements: Long): Publisher[Int] = {
     val sourceViaJavaFlowPublisher: JavaFlow.Publisher[Int] = 
Source(iterable(elements))
-      .runWith(JavaFlowSupport.Sink.asPublisher(fanout = false))
+      .runWith(Sink.asJavaPublisher(fanout = false))

Review Comment:
   nice, much clear



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to