Now the validators use checkArgument instead of throwing an exception by calling an static method.
There were some missing validators on the Async client, these were fixed too. Lastly, TreeHash inner class was removed. Now the factory methods are in the TreeHash class. You can merge this Pull Request by running: git pull https://github.com/rcoedo/jclouds-labs-aws cleanup Or you can view, comment on it, or merge it online at: https://github.com/jclouds/jclouds-labs-aws/pull/20 -- Commit Summary -- * JCLOUDS-457: Clean up for the validators and the TreeHash class. -- File Changes -- M glacier/src/main/java/org/jclouds/glacier/GlacierAsyncClient.java (15) M glacier/src/main/java/org/jclouds/glacier/binders/BindHashesToHeaders.java (2) M glacier/src/main/java/org/jclouds/glacier/predicates/validators/DescriptionValidator.java (17) M glacier/src/main/java/org/jclouds/glacier/predicates/validators/PartSizeValidator.java (16) M glacier/src/main/java/org/jclouds/glacier/predicates/validators/PayloadValidator.java (21) M glacier/src/main/java/org/jclouds/glacier/predicates/validators/VaultNameValidator.java (29) M glacier/src/main/java/org/jclouds/glacier/util/TreeHash.java (110) M glacier/src/test/java/org/jclouds/glacier/predicates/validators/PayloadValidatorTest.java (4) M glacier/src/test/java/org/jclouds/glacier/util/TreeHashTest.java (10) -- Patch Links -- https://github.com/jclouds/jclouds-labs-aws/pull/20.patch https://github.com/jclouds/jclouds-labs-aws/pull/20.diff --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-aws/pull/20
