> +   @Test(groups = { "integration", "live" }, dependsOnMethods = { 
> "testListMultipartUploadsWithEmptyList" })
> +   public void testInitiateAndAbortMultipartUpload() throws Exception {
> +      String uploadId = api.initiateMultipartUpload(VAULT_NAME1, 8);
> +      try {
> +         assertNotNull(uploadId);
> +      } finally {
> +         api.abortMultipartUpload(VAULT_NAME1, uploadId);
> +      }
> +   }
> +
> +   @Test(groups = { "integration", "live" }, dependsOnMethods = { 
> "testInitiateAndAbortMultipartUpload" })
> +   public void testListMultipartUploads() throws Exception {
> +      String uploadId = api.initiateMultipartUpload(VAULT_NAME1, 8);
> +      try {
> +         PaginatedMultipartUploadCollection uploads = 
> api.listMultipartUploads(VAULT_NAME1);
> +         ImmutableList.Builder<String> list = 
> ImmutableList.<String>builder();

Can you let Java infer the type with:

```
ImmutableList.Builder<String> list = ImmutableList.builder();
```

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-aws/pull/22/files#r14057706

Reply via email to