# | Line 3708 | Line 3708 | public class CompletableFutureTest exten | |
---|---|---|
3708 | (method) -> (method.getModifiers() & Modifier.STATIC) == 0; | |
3709 | List<Method> minimalMethods = | |
3710 | Stream.of(Object.class, CompletionStage.class) | |
3711 | < | .map((klazz) -> Stream.of(klazz.getMethods())) |
3712 | < | .reduce(Stream::concat) |
3713 | < | .orElseGet(Stream::empty) |
3711 | > | .flatMap((klazz) -> Stream.of(klazz.getMethods())) |
3712 | .filter(isNotStatic) | |
3713 | .collect(Collectors.toList()); | |
3714 | // Methods from CompletableFuture permitted NOT to throw UOE |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |