Remove use of deprecated Scala features #22581
This commit is contained in:
parent
7b9342e324
commit
f8b4fb55ca
38 changed files with 224 additions and 108 deletions
|
|
@ -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))
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue