henriqueolliveira / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

Bug in GoogleUrl.create regarding prettyprint #143

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Version of google-api-java-client (e.g. 1.3.1-alpha)?

1.3.1-alpha

Java environment (e.g. Java 6, Android 2.3, App Engine 1.4.2)?

All.

Describe the problem.

If you pass a boolean value for prettyprint to GoogleUrl.create(), it will 
throw an exception trying to cast a boolean prettyprint field from a String.

How would you expect it to be fixed?

Support any object type in the internal implementation using HashMap<String, 
Object>.

Original issue reported on code.google.com by yan...@google.com on 11 Mar 2011 at 12:19

GoogleCodeExporter commented 9 years ago
http://codereview.appspot.com/4285042/

Original comment by yan...@google.com on 11 Mar 2011 at 1:16

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 11 Mar 2011 at 2:41