> +import static com.google.common.base.Preconditions.checkNotNull;
> +import static com.google.common.collect.Iterables.transform;
> +import static com.google.common.collect.Lists.newArrayList;
> +import static 
> org.jclouds.openstack.marconi.v1.functions.ParseMessagesToStream.MessageWithHref;
> +import static 
> org.jclouds.openstack.marconi.v1.functions.ParseMessagesToStream.TO_ID_FROM_HREF;
> +import static 
> org.jclouds.openstack.marconi.v1.functions.ParseMessagesToStream.TO_MESSAGE;
> +
> +/**
> + * @author Everett Toews
> + */
> +public class ParseClaim implements Function<HttpResponse, Claim> {
> +
> +   protected static final Function<ClaimWithHref, Claim> TO_CLAIM = new 
> Function<ClaimWithHref, Claim>() {
> +      @Override
> +      public Claim apply(ClaimWithHref claimWithHref) {
> +         List<Message> messages = 
> newArrayList(transform(claimWithHref.messagesWithHref, TO_MESSAGE));

Fixed.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/60/files#r8347328

Reply via email to