Java Flow dsl lower bounds incorrect #24368
This commit is contained in:
parent
a53a09e6ba
commit
d8b9bb1b3a
14 changed files with 199 additions and 126 deletions
|
|
@ -145,8 +145,8 @@ public class RecipeAdhocSourceTest extends RecipeTest {
|
|||
Promise<Done> shutdown = Futures.promise();
|
||||
AtomicInteger startedCount = new AtomicInteger(0);
|
||||
|
||||
Source<String, ?> source = Source
|
||||
.empty().mapMaterializedValue(x -> startedCount.incrementAndGet())
|
||||
Source<String, ?> source = Source.<String>empty()
|
||||
.mapMaterializedValue(x -> startedCount.incrementAndGet())
|
||||
.concat(Source.repeat("a"));
|
||||
|
||||
TestSubscriber.Probe<String> probe =
|
||||
|
|
@ -172,8 +172,8 @@ public class RecipeAdhocSourceTest extends RecipeTest {
|
|||
Promise<Done> shutdown = Futures.promise();
|
||||
AtomicInteger startedCount = new AtomicInteger(0);
|
||||
|
||||
Source<String, ?> source = Source
|
||||
.empty().mapMaterializedValue(x -> startedCount.incrementAndGet())
|
||||
Source<String, ?> source = Source.<String>empty()
|
||||
.mapMaterializedValue(x -> startedCount.incrementAndGet())
|
||||
.concat(Source.repeat("a"));
|
||||
|
||||
TestSubscriber.Probe<String> probe =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue