(CompletableFuture<T> future)
| 372 | } |
| 373 | |
| 374 | private <T> T unwrap(CompletableFuture<T> future) { |
| 375 | try { |
| 376 | return future.get(); |
| 377 | } catch (InterruptedException | ExecutionException e) { |
| 378 | e.printStackTrace(); |
| 379 | return null; |
| 380 | } |
| 381 | } |
| 382 | |
| 383 | } |
no test coverage detected