> - // CDN is not, and has never, been enabled for this container.
> - return null;
> - }
> - else {
> - return new ContainerCDNMetadata(
> - request.getEndpoint().getPath(),
> - Boolean.parseBoolean(cdnEnabled),
> - Boolean.parseBoolean(cdnLogRetention),
> - Long.parseLong(cdnTTL),
> - URI.create(cdnUri),
> - URI.create(cdnSslUri),
> - URI.create(cdnStreamingUri));
> - }
> + String cdnIosUri =
> checkNotNull(from.getFirstHeaderOrNull(CloudFilesHeaders.CDN_IOS_URI),
> CloudFilesHeaders.CDN_IOS_URI);
> +
> + List<String> parts =
> newArrayList(Splitter.on('/').split(request.getEndpoint().getPath()));
`ImmutableList.copyOf`? Or does it need to be mutable?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/309/files#r11187155