Java Flow dsl lower bounds incorrect #24368

This commit is contained in:
Johan Andrén 2018-03-15 14:53:50 +01:00 committed by GitHub
parent a53a09e6ba
commit d8b9bb1b3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 199 additions and 126 deletions

View file

@ -195,7 +195,7 @@ final class Source[+Out, +Mat](
/**
* Converts this Scala DSL element to it's Java DSL counterpart.
*/
def asJava: javadsl.Source[Out, Mat] = new javadsl.Source(this)
def asJava[JOut >: Out, JMat >: Mat]: javadsl.Source[JOut, JMat] = new javadsl.Source(this)
/**
* Combines several sources with fan-in strategy like `Merge` or `Concat` and returns `Source`.