# | Line 4388 | Line 4388 | public class CompletableFutureTest exten | |
---|---|---|
4388 | f.complete(null); | |
4389 | ||
4390 | f = new CompletableFuture<>(); | |
4391 | < | CompletableFuture.anyOf(new CompletableFuture<?>[] { f, incomplete }); |
4391 | > | CompletableFuture.anyOf(f, incomplete); |
4392 | f.complete(null); | |
4393 | } | |
4394 | ||
# | Line 4406 | Line 4406 | public class CompletableFutureTest exten | |
4406 | f.complete(null); | |
4407 | ||
4408 | f = new CompletableFuture<>(); | |
4409 | < | CompletableFuture.anyOf(new CompletableFuture<?>[] { incomplete, f }); |
4409 | > | CompletableFuture.anyOf(incomplete, f); |
4410 | f.complete(null); | |
4411 | } | |
4412 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |