From 280fcc9f37726e36a11c3997e4e3325961ef1c6d Mon Sep 17 00:00:00 2001 From: Kyle Song Date: Wed, 20 Sep 2017 20:20:07 -0500 Subject: [PATCH] =doc Remove duplicated 'to be's. issue #23646 (#23671) --- akka-docs/src/main/paradox/scala/stream/stream-quickstart.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/akka-docs/src/main/paradox/scala/stream/stream-quickstart.md b/akka-docs/src/main/paradox/scala/stream/stream-quickstart.md index 81ca83515a..06eb283531 100644 --- a/akka-docs/src/main/paradox/scala/stream/stream-quickstart.md +++ b/akka-docs/src/main/paradox/scala/stream/stream-quickstart.md @@ -290,7 +290,7 @@ Java : @@snip [TwitterStreamQuickstartDocTest.java]($code$/java/jdocs/stream/TwitterStreamQuickstartDocTest.java) { #authors-foreach-println } Materializing and running a stream always requires a `Materializer` to be @scala[in implicit scope (or passed in explicitly, -like this: `.run(materializer)`)]@java[to be passed in explicitly, like this: `.run(mat)`]. +like this: `.run(materializer)`)]@java[passed in explicitly, like this: `.run(mat)`]. The complete snippet looks like this: @@ -381,7 +381,7 @@ Scala : @@snip [TwitterStreamQuickstartDocSpec.scala]($code$/scala/docs/stream/TwitterStreamQuickstartDocSpec.scala) { #tweets-slow-consumption-dropHead } Java -: @@snip [TwitterStreamQuickstartDocTest.java]($code$/java/jdocs/stream/TwitterStreamQuickstartDocTest.java) { #tweets-slow-consumption-dropHead } +: @@snip [TwitterStreamQuickstartDocTest.java]($code$/java/jdocs/stream/TwitterStreamQuickstartDocTest.java) { #tweets-slow-consumption-dropHead } The `buffer` element takes an explicit and required `OverflowStrategy`, which defines how the buffer should react when it receives another element while it is full. Strategies provided include dropping the oldest element (`dropHead`),