!str #17923 remove javadsl's elements method, due to compiler bug

This commit is contained in:
Konrad Malawski 2015-07-09 10:53:07 +02:00
parent 662dd035a0
commit 6532c27d4a

View file

@ -146,12 +146,6 @@ object Source {
def single[T](element: T): Source[T, Unit] =
new Source(scaladsl.Source.single(element))
/**
* Create a `Source` with the given elements.
*/
def elements[T](elems: T*): Source[T, Unit] =
new Source(scaladsl.Source(() elems.iterator))
/**
* Create a `Source` that will continually emit the given element.
*/