The ExecutorService has the following method:
Future<?> submit(Runnable task)
But since this Future's get method will always return null wouldn't the following signature be more appropriate?
Future<Void> submit(Runnable task)
The ExecutorService has the following method:
Future<?> submit(Runnable task)
But since this Future's get method will always return null wouldn't the following signature be more appropriate?
Future<Void> submit(Runnable task)