This commit addresses some problems found in the code: - Now VaultMetadata returns a copy of the creation date instead of their own instance.
- Added a checkNotNull for PaginatedVaultCollection iterable. - Added a test for listVaults with an empty list of vaults. You can merge this Pull Request by running: git pull https://github.com/rcoedo/jclouds-labs-aws fixes Or you can view, comment on it, or merge it online at: https://github.com/jclouds/jclouds-labs-aws/pull/28 -- Commit Summary -- * JCLOUDS-457: Multiple fixes -- File Changes -- M glacier/src/main/java/org/jclouds/glacier/domain/PaginatedVaultCollection.java (4) M glacier/src/main/java/org/jclouds/glacier/domain/VaultMetadata.java (4) M glacier/src/test/java/org/jclouds/glacier/GlacierClientMockTest.java (11) A glacier/src/test/resources/json/listVaultsWithEmptyListResponseBody.json (4) -- Patch Links -- https://github.com/jclouds/jclouds-labs-aws/pull/28.patch https://github.com/jclouds/jclouds-labs-aws/pull/28.diff --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-aws/pull/28
