andrewgaul commented on this pull request.
> + assertReplaceManifest(regionId, defaultContainerName, defaultName);
+ }
+ }
+
+ protected void assertReplaceManifest(String regionId, String containerName,
String name) {
+ ObjectApi objectApi = getApi().getObjectApi(regionId, containerName);
+
+ String etag1s = objectApi.put(name + "/1",
newByteSourcePayload(ByteSource.wrap(megOf1s)));
+ awaitConsistency();
+ assertMegabyteAndETagMatches(regionId, containerName, name + "/1",
etag1s);
+
+ String etag2s = objectApi.put(name + "/2",
newByteSourcePayload(ByteSource.wrap(megOf2s)));
+ awaitConsistency();
+ assertMegabyteAndETagMatches(regionId, containerName, name + "/2",
etag2s);
+
+ List<Segment> segments = ImmutableList.<Segment> builder()
Prefer `ImmutableList.of`.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1090#pullrequestreview-35507367