jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zack Shoylev <notificati...@github.com>
Subject Re: [jclouds] Require JDK 7 and allow payloads greater than 2 GB (#426)
Date Fri, 01 Aug 2014 15:14:42 GMT
> @@ -179,15 +179,10 @@ protected HttpURLConnection convert(HttpRequest request) throws
IOException, Int
>              connection.setChunkedStreamingMode(8196);
>              writePayloadToConnection(payload, "streaming", connection);
>           } else {
> -            Long length = checkNotNull(md.getContentLength(), "payload.getContentLength");
> -            // TODO: remove check after moving to JDK 7.
> -            checkArgument(length <= Integer.MAX_VALUE,

Thanks for explaining!

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/426/files#r15701122
Mime
View raw message