> +         return claimWithHref.toBuilder()
> +               .id(claimId)
> +               .messages(messages)
> +               .build();
> +      }
> +   };
> +   private final ParseJson<ClaimWithHref> json;
> +
> +   @Inject
> +   ParseClaim(ParseJson<ClaimWithHref> json) {
> +      this.json = checkNotNull(json, "json");
> +   }
> +
> +   @Override
> +   public Claim apply(HttpResponse response) {
> +      ClaimWithHref claimWithHref = json.apply(response);

Do we need a `checkNotNull` here?

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

Reply via email to