Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(12408)

Issue 6450137: Throwing IllegalArgumentException in ApacheHttpRequest if content used with GET (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by rmistry
Modified:
11 years, 8 months ago
Reviewers:
yanivi
Base URL:
https://google-http-java-client.googlecode.com/hg/
Visibility:
Public.

Description

Created to fix http://code.google.com/p/google-http-java-client/issues/detail?id=122 : ClassCastException in ApacheHttpRequest.setContent.

Patch Set 1 #

Patch Set 2 : Minor fix #

Total comments: 6

Patch Set 3 : review comments #

Patch Set 4 : Minor fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -0 lines) Patch
M google-http-client/src/main/java/com/google/api/client/http/apache/ApacheHttpRequest.java View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M google-http-client/src/test/java/com/google/api/client/http/apache/ApacheHttpTransportTest.java View 1 2 3 3 chunks +40 lines, -0 lines 0 comments Download

Messages

Total messages: 4
rmistry
11 years, 8 months ago (2012-08-15 12:28:36 UTC) #1
yanivi
http://codereview.appspot.com/6450137/diff/2001/google-http-client/src/main/java/com/google/api/client/http/apache/ApacheHttpRequest.java File google-http-client/src/main/java/com/google/api/client/http/apache/ApacheHttpRequest.java (right): http://codereview.appspot.com/6450137/diff/2001/google-http-client/src/main/java/com/google/api/client/http/apache/ApacheHttpRequest.java#newcode65 google-http-client/src/main/java/com/google/api/client/http/apache/ApacheHttpRequest.java:65: Preconditions.checkArgument(!(request instanceof HttpGet), "!(request instanceof HttpGet)" -> "request instanceof ...
11 years, 8 months ago (2012-08-20 13:04:29 UTC) #2
rmistry
http://codereview.appspot.com/6450137/diff/2001/google-http-client/src/main/java/com/google/api/client/http/apache/ApacheHttpRequest.java File google-http-client/src/main/java/com/google/api/client/http/apache/ApacheHttpRequest.java (right): http://codereview.appspot.com/6450137/diff/2001/google-http-client/src/main/java/com/google/api/client/http/apache/ApacheHttpRequest.java#newcode65 google-http-client/src/main/java/com/google/api/client/http/apache/ApacheHttpRequest.java:65: Preconditions.checkArgument(!(request instanceof HttpGet), On 2012/08/20 13:04:29, yanivi wrote: > ...
11 years, 8 months ago (2012-08-22 13:46:11 UTC) #3
yanivi
11 years, 8 months ago (2012-08-22 20:24:57 UTC) #4
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b