I created unit test:
new Callable() { @Override public Object call() throws .....
I got a warning in Eclipse:
Callable is a raw type. References to generic type Callable<V> should be parameterized
Should I write code like:
new Callable<Object>()
to eliminate the warning or not? This seems to be just a junit test, and it makes no sense to add extra code ... Thanks.
source share