=str #16259 Added more red-face testing of the stream Java DSL

This commit is contained in:
Björn Antonsson 2014-12-03 10:33:21 +01:00
parent 773379e748
commit 91d29cbb3a
6 changed files with 662 additions and 283 deletions

View file

@ -208,7 +208,7 @@ class Source[+Out](delegate: scaladsl.Source[Out]) {
* source.
*/
def concat[Out2 >: Out](second: Source[Out2]): Source[Out2] =
delegate.concat(second.asScala).asJava
Source.concat(this, second)
/**
* Shortcut for running this `Source` with a foreach procedure. The given procedure is invoked