-str - #18806 - Replacing flatten(FlattenStrategy) with flattenConcat
This commit is contained in:
parent
06ce968b16
commit
ce10456804
15 changed files with 31 additions and 84 deletions
|
|
@ -351,7 +351,7 @@ public class SourceTest extends StreamTest {
|
|||
mainInputs.add(Source.from(input2));
|
||||
|
||||
Future<List<Integer>> future = Source.from(mainInputs)
|
||||
.flatten(akka.stream.javadsl.FlattenStrategy.<Integer, BoxedUnit>concat()).grouped(6)
|
||||
.<Integer>flattenConcat().grouped(6)
|
||||
.runWith(Sink.<List<Integer>>head(), materializer);
|
||||
|
||||
List<Integer> result = Await.result(future, probe.dilated(FiniteDuration.create(3, TimeUnit.SECONDS)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue