> +/**
> + * The bucket's Cross-Origin Resource Sharing (CORS) configuration.
> + * 
> + * @see <a href= "https://developers.google.com/storage/docs/cross-origin"; />
> + */
> +
> +public final class BucketCors {
> +   private final Set<String> origins;
> +   private final Set<String> methods;
> +   private final Set<String> responseHeaders;
> +   private final Integer maxAgeSeconds;
> +
> +   public BucketCors(@Nullable Set<String> origin, @Nullable Set<String> 
> method, @Nullable Set<String> responseHeader,
> +            Integer maxAgeSeconds) {
> +
> +      this.origins = origin == null ? ImmutableSet.<String> of() : origin;

Now it is consistent with Bucket. Actually BucketCor class had some issues with 
 empty sets.
Also changed methods,origins ,responseHeaders  back to method ,origin &  
responseHeader

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/31/files#r14576935

Reply via email to