Java Flow dsl lower bounds incorrect #24368

This commit is contained in:
Johan Andrén 2018-03-15 14:53:50 +01:00 committed by GitHub
parent a53a09e6ba
commit d8b9bb1b3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 199 additions and 126 deletions

View file

@ -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 =