jclouds/jclouds — pull request #560 by danikov (2012-04-12 11:32:56+00:00)
Title: covariant compatible version of futureIterables

as you may be aware, to allow covariant return types when using generics, you require wildcards. as such, when trying to port the 1.0 functions to vcloud director 1.5, the covariant return types on some of the clients (e.g. CatalogClient.getCatalog() ) threw a spanner in the works.

result of changing FutureIterables to be compatible was this class. problem is, it changes all the call sites and potentially is a wide-sweeping change. sadly, the type-erasure means they can't be included polymorphically along side the existing methods. it's ugly to have an old/new version of the class as well, so I'm not sure if and how to introduce the change.

on the plus side, it eliminates some unchecked exceptions and I believe it's a good improvement to the code