Skip to content

Commit 63d191f

Browse files
committed
Address comment
1 parent 53cf296 commit 63d191f

File tree

7 files changed

+5
-7
lines changed

7 files changed

+5
-7
lines changed

stream-tests/src/test/java/org/apache/pekko/stream/javadsl/FlowTest.java

-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ public void mustBeAbleToUseMapWithAutoCloseableResource() {
249249
() -> (AutoCloseable) closed::incrementAndGet, (resource, elem) -> elem))
250250
.runWith(Sink.foreach(elem -> probe.getRef().tell(elem, ActorRef.noSender())), system);
251251

252-
Assert.assertEquals(closed.get(), 0);
253252
probe.expectMsgAllOf("1", "2", "3");
254253
Assert.assertEquals(closed.get(), 1);
255254
}

stream-tests/src/test/java/org/apache/pekko/stream/javadsl/SourceTest.java

-1
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,6 @@ public void mustBeAbleToUseMapWithAutoCloseableResource() {
824824
.mapWithResource(() -> (AutoCloseable) closed::incrementAndGet, (resource, elem) -> elem)
825825
.runWith(Sink.foreach(elem -> probe.getRef().tell(elem, ActorRef.noSender())), system);
826826

827-
Assert.assertEquals(closed.get(), 0);
828827
probe.expectMsgAllOf("1", "2", "3");
829828
Assert.assertEquals(closed.get(), 1);
830829
}

stream/src/main/scala/org/apache/pekko/stream/javadsl/Flow.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ final class Flow[In, Out, Mat](delegate: scaladsl.Flow[In, Out, Mat]) extends Gr
841841
*
842842
* Adheres to the [[ActorAttributes.SupervisionStrategy]] attribute.
843843
*
844-
* You can configure the default dispatcher for this Source by changing the `akka.stream.materializer.blocking-io-dispatcher` or
844+
* You can configure the default dispatcher for this Source by changing the `pekko.stream.materializer.blocking-io-dispatcher` or
845845
* set it for a given Source by using [[ActorAttributes]].
846846
*
847847
* '''Emits when''' the mapping function returns an element and downstream is ready to consume it

stream/src/main/scala/org/apache/pekko/stream/javadsl/Source.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -2554,7 +2554,7 @@ final class Source[Out, Mat](delegate: scaladsl.Source[Out, Mat]) extends Graph[
25542554
*
25552555
* Adheres to the [[ActorAttributes.SupervisionStrategy]] attribute.
25562556
*
2557-
* You can configure the default dispatcher for this Source by changing the `akka.stream.materializer.blocking-io-dispatcher` or
2557+
* You can configure the default dispatcher for this Source by changing the `pekko.stream.materializer.blocking-io-dispatcher` or
25582558
* set it for a given Source by using [[ActorAttributes]].
25592559
*
25602560
* '''Emits when''' the mapping function returns an element and downstream is ready to consume it

stream/src/main/scala/org/apache/pekko/stream/javadsl/SubFlow.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ class SubFlow[In, Out, Mat](
298298
*
299299
* Adheres to the [[ActorAttributes.SupervisionStrategy]] attribute.
300300
*
301-
* You can configure the default dispatcher for this Source by changing the `akka.stream.materializer.blocking-io-dispatcher` or
301+
* You can configure the default dispatcher for this Source by changing the `pekko.stream.materializer.blocking-io-dispatcher` or
302302
* set it for a given Source by using [[ActorAttributes]].
303303
*
304304
* '''Emits when''' the mapping function returns an element and downstream is ready to consume it

stream/src/main/scala/org/apache/pekko/stream/javadsl/SubSource.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ class SubSource[Out, Mat](
289289
*
290290
* Adheres to the [[ActorAttributes.SupervisionStrategy]] attribute.
291291
*
292-
* You can configure the default dispatcher for this Source by changing the `akka.stream.materializer.blocking-io-dispatcher` or
292+
* You can configure the default dispatcher for this Source by changing the `pekko.stream.materializer.blocking-io-dispatcher` or
293293
* set it for a given Source by using [[ActorAttributes]].
294294
*
295295
* '''Emits when''' the mapping function returns an element and downstream is ready to consume it

stream/src/main/scala/org/apache/pekko/stream/scaladsl/Flow.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,7 @@ trait FlowOps[+Out, +Mat] {
11551155
*
11561156
* Adheres to the [[ActorAttributes.SupervisionStrategy]] attribute.
11571157
*
1158-
* You can configure the default dispatcher for this Source by changing the `akka.stream.materializer.blocking-io-dispatcher` or
1158+
* You can configure the default dispatcher for this Source by changing the `pekko.stream.materializer.blocking-io-dispatcher` or
11591159
* set it for a given Source by using [[ActorAttributes]].
11601160
*
11611161
* '''Emits when''' the mapping function returns an element and downstream is ready to consume it

0 commit comments

Comments
 (0)