jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds] Allow Guava MediaType for Content-Type (#44)
Date Mon, 17 Mar 2014 19:44:07 GMT
>        public PayloadBlobBuilder contentType(String contentType) {
> -         payload.getContentMetadata().setContentType(contentType);
> +         payload.getContentMetadata().setContentType(checkNotNull(contentType, "contentType"));

What happened previously if this was set to `null`? It seems as though that was supported,
based on the Clojure test (which has now been changed).

Are we OK with making a backwards-incompatible change like this?

Reply to this email directly or view it on GitHub:
View raw message