> +   private final int code;
> +   private final String keepUri;
> +   private final String fqdn;
> +   private final String zone;
> +   // transient to avoid serializing by default, for example in json
> +   private final transient ImmutableMap<String, Object> delegate;
> +
> +   @ConstructorProperties({ "url", "code", "keep_uri", "fqdn", "zone" })
> +   private HttpRedirect(String url, int code, String keepUri, String fqdn, 
> String zone) {
> +      this.url = checkNotNull(url, "url");
> +      checkArgument(code == 301 || code == 302, "code must be 301 or 302 but 
> was %s", code);
> +      this.code = code;
> +      checkNotNull(keepUri, "keepUri");
> +      checkArgument("Y".equalsIgnoreCase(keepUri) || 
> "N".equalsIgnoreCase(keepUri), "keepUri must be 'Y' or 'N' but was %s", 
> keepUri);
> +      this.keepUri = keepUri.toUpperCase();
> +      this.fqdn = checkNotNull(fqdn, "fqdn");;

Double `;;`?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/37/files#r5013040

Reply via email to