jclouds/jclouds — pull request #488 by jdaggett (2014-08-15 17:04:05+00:00)
Title: Prefer isEmpty() for collections

This PR replaces the following conditions when checking for the size of a collection:

- `size() > 0` -> `!isEmpty()`
- `size() == 0` -> `isEmpty()`
- `size() != 0` -> `!isEmpty()`
- `Iterables.size(numbers) > 0` -> `Iterables.isEmpty(numbers)`

For collections that use `Iterables.isEmpty(somecollection)`, should we consider using `somecollection.isEmpty()`?