> + * This parses the scaling policy response and decouples domain objects from
> the json object returned by the service.
> + * @author Zack Shoylev
> + */
> +public class ParseScalingPolicyResponse implements Function<HttpResponse,
> ScalingPolicyResponse> {
> +
> + private final ParseJson<Map<String, Object>> json;
> +
> + @Inject
> + ParseScalingPolicyResponse(ParseJson<Map<String, Object>> json) {
> + this.json = checkNotNull(json, "json");
> + }
> +
> + /**
> + * Extracts the user password from the json response
> + */
> + @SuppressWarnings("unchecked")
[minor] Comment not relevant to this code?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/39/files#r7361040