You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2025/10/22 10:23:54 UTC

(pekko) branch 1.3.x updated: change comment due to build issues (#2357)

This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch 1.3.x
in repository https://gitbox.apache.org/repos/asf/pekko.git


The following commit(s) were added to refs/heads/1.3.x by this push:
     new 561b6abd31 change comment due to build issues (#2357)
561b6abd31 is described below

commit 561b6abd3119467d25b905425716d298139b3cd1
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Wed Oct 22 11:23:47 2025 +0100

    change comment due to build issues (#2357)
    
    * change comment due to build issues
    
    * Update SourceSink.scala
---
 .../org/apache/pekko/stream/impl/fusing/SourceSink.scala     | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/stream/src/main/scala/org/apache/pekko/stream/impl/fusing/SourceSink.scala b/stream/src/main/scala/org/apache/pekko/stream/impl/fusing/SourceSink.scala
index db58cc93e6..75c60b21a5 100644
--- a/stream/src/main/scala/org/apache/pekko/stream/impl/fusing/SourceSink.scala
+++ b/stream/src/main/scala/org/apache/pekko/stream/impl/fusing/SourceSink.scala
@@ -47,13 +47,11 @@ import pekko.stream.stage.{
   override def createLogicAndMaterializedValue(
       inheritedAttributes: Attributes): (GraphStageLogic, Source[Any, NotUsed]) = {
 
-    /**
-     * NOTE: in the current implementation of Pekko Stream,
-     * We have to materialization twice to do the piping, which means, even we can treat the Sink as a Source.
-     *
-     * In an idea word this stage should be purged out by the materializer optimization,
-     * and we can directly connect the upstream to the downstream.
-     */
+    // NOTE: in the current implementation of Pekko Stream,
+    // We have to do materialization twice to do the piping, which means, even we can treat the Sink as a Source.
+    //
+    // In an ideal world this stage should be purged out by the materializer optimization,
+    // and we can directly connect the upstream to the downstream.
     object logic extends TimerGraphStageLogic(shape) with InHandler with OutHandler { self =>
       val sinkSource = new SubSourceOutlet[Any]("sinkSource")
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org