I ran into a strange Vert.x futures issue the other day that doesn't break code but bother me.
A future without a parameter results in the following warning:
The future is a raw type. References to a Generic Type The Future Must Be Parameterized
Add parameter, problem solved:
Future<YourClassName> future = ...
When you work with a list of futures, you can also easily parameterize it:
List<Future<YourClassName>> future = ...
But CompositeFuture.all() does not seem to be relevant to the parameterized list and forces you to remove the parameter.
Is there a way to make a parameterized list of futures work with CompositeFuture or do we just need to ignore this warning? This will not break anything, but it would still be nice to find a solution to get rid of this warning.
source share