Remove use of deprecated Scala features #22581

This commit is contained in:
Björn Antonsson 2017-03-27 18:05:54 +02:00 committed by Johan Andrén
parent 7b9342e324
commit f8b4fb55ca
38 changed files with 224 additions and 108 deletions

View file

@ -395,7 +395,7 @@ object Source {
read: function.Function[S, Optional[T]],
close: function.Procedure[S]): javadsl.Source[T, NotUsed] =
new Source(scaladsl.Source.unfoldResource[T, S](
create.create,
create.create _,
(s: S) read.apply(s).asScala, close.apply))
/**