# | Line 2393 | Line 2393 | public class CompletableFutureTest exten | |
---|---|---|
2393 | CompletableFuture<Integer> f = new CompletableFuture<Integer>(); | |
2394 | CompletableFuture<Integer> g = new CompletableFuture<Integer>(); | |
2395 | CompletableFuture h; | |
2396 | – | Runnable[] actions = { |
2397 | – | () => f.thenApply(null), |
2398 | – | } |
2396 | try { h = f.thenApply(null); } catch (NullPointerException ok) {} | |
2397 | try { h = f.thenAccept(null); } catch (NullPointerException ok) {} | |
2398 | try { h = f.thenRun(null); } catch (NullPointerException ok) {} |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |