> + */ > +public class ParseCDNContainerFromHeaders implements Function<HttpResponse, > CDNContainer>, > + InvocationContext<ParseCDNContainerFromHeaders> { > + > + private HttpRequest request; > + > + /** > + * parses the http response headers to create a new {@link CDNContainer} > object. > + */ > + public CDNContainer apply(final HttpResponse from) { > + String uri = checkNotNull(from.getFirstHeaderOrNull(CDN_URI), CDN_URI); > + String sslUri = checkNotNull(from.getFirstHeaderOrNull(CDN_SSL_URI), > CDN_SSL_URI); > + String streamingUri = > checkNotNull(from.getFirstHeaderOrNull(CDN_STREAMING_URI), CDN_STREAMING_URI); > + String iosUri = checkNotNull(from.getFirstHeaderOrNull(CDN_IOS_URI), > CDN_IOS_URI); > + > + if (uri == null) {
Yeah, you are right! fixed --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/79/files#r9892486