diff --git a/akka-docs/rst/java/stream/stream-customize.rst b/akka-docs/rst/java/stream/stream-customize.rst index 2bd17303aa..e3922b5b0b 100644 --- a/akka-docs/rst/java/stream/stream-customize.rst +++ b/akka-docs/rst/java/stream/stream-customize.rst @@ -350,7 +350,7 @@ Custom materialized values Custom stages can return materialized values instead of ``Unit`` by inheriting from :class:`GraphStageWithMaterializedValue` instead of the simpler :class:`GraphStage`. The difference is that in this case the method -``createLogicAndMaterializedValue(inheritedAttributes)`` needs to be overridden, overridden, and in addition to the +``createLogicAndMaterializedValue(inheritedAttributes)`` needs to be overridden, and in addition to the stage logic the materialized value must be provided .. warning:: diff --git a/akka-docs/rst/scala/stream/stream-customize.rst b/akka-docs/rst/scala/stream/stream-customize.rst index 1ebc955091..cfe05cb301 100644 --- a/akka-docs/rst/scala/stream/stream-customize.rst +++ b/akka-docs/rst/scala/stream/stream-customize.rst @@ -356,7 +356,7 @@ Custom materialized values Custom stages can return materialized values instead of ``Unit`` by inheriting from :class:`GraphStageWithMaterializedValue` instead of the simpler :class:`GraphStage`. The difference is that in this case the method -``createLogicAndMaterializedValue(inheritedAttributes)`` needs to be overridden, overridden, and in addition to the +``createLogicAndMaterializedValue(inheritedAttributes)`` needs to be overridden, and in addition to the stage logic the materialized value must be provided .. warning::