| 11 | package java.util.concurrent; |
| 12 | |
| 13 | public class Executors { |
| 14 | public static <T> Callable<T> callable(final Runnable task, final T result) { |
| 15 | return new Callable<T>() { |
| 16 | @Override |
| 17 | public T call() throws Exception { |
| 18 | task.run(); |
| 19 | |
| 20 | return result; |
| 21 | } |
| 22 | }; |
| 23 | } |
| 24 | } |
nothing calls this directly
no outgoing calls
no test coverage detected