Merge pull request #18828 from akka/wip-sprinkle-finals-√
Sprinkling finals on javadsl classes
This commit is contained in:
commit
b339cc1a42
3 changed files with 3 additions and 3 deletions
|
|
@ -88,7 +88,7 @@ object BidiFlow {
|
|||
new BidiFlow(scaladsl.BidiFlow.bidirectionalIdleTimeout(timeout))
|
||||
}
|
||||
|
||||
class BidiFlow[-I1, +O1, -I2, +O2, +Mat](delegate: scaladsl.BidiFlow[I1, O1, I2, O2, Mat]) extends Graph[BidiShape[I1, O1, I2, O2], Mat] {
|
||||
final class BidiFlow[-I1, +O1, -I2, +O2, +Mat](delegate: scaladsl.BidiFlow[I1, O1, I2, O2, Mat]) extends Graph[BidiShape[I1, O1, I2, O2], Mat] {
|
||||
private[stream] override def module = delegate.module
|
||||
override def shape = delegate.shape
|
||||
|
||||
|
|
|
|||
|
|
@ -162,7 +162,7 @@ object Sink {
|
|||
* A `Sink` is a set of stream processing steps that has one open input and an attached output.
|
||||
* Can be used as a `Subscriber`
|
||||
*/
|
||||
class Sink[-In, +Mat](delegate: scaladsl.Sink[In, Mat]) extends Graph[SinkShape[In], Mat] {
|
||||
final class Sink[-In, +Mat](delegate: scaladsl.Sink[In, Mat]) extends Graph[SinkShape[In], Mat] {
|
||||
|
||||
override def shape: SinkShape[In] = delegate.shape
|
||||
private[stream] def module: StreamLayout.Module = delegate.module
|
||||
|
|
|
|||
|
|
@ -242,7 +242,7 @@ object Source {
|
|||
* A `Source` is a set of stream processing steps that has one open output and an attached input.
|
||||
* Can be used as a `Publisher`
|
||||
*/
|
||||
class Source[+Out, +Mat](delegate: scaladsl.Source[Out, Mat]) extends Graph[SourceShape[Out], Mat] {
|
||||
final class Source[+Out, +Mat](delegate: scaladsl.Source[Out, Mat]) extends Graph[SourceShape[Out], Mat] {
|
||||
|
||||
import scala.collection.JavaConverters._
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue