sinamdar2015 / google-gson

Automatically exported from code.google.com/p/google-gson
0 stars 0 forks source link

Error in the Javadoc #471

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Head over to this page: 
http://google-gson.googlecode.com/svn/trunk/gson/docs/javadocs/com/google/gson/J
sonElement.html#getAsJsonArray()

What is the expected output? What do you see instead?
The two statements "If the element is of some other type, a ClassCastException 
will result." and "Throws: IllegalStateException - if the element is of another 
type." are contradictory.

What version of the product are you using? On what operating system?
Current online Javadoc.

Please provide any additional information below.

Original issue reported on code.google.com by stevenroose on 11 Sep 2012 at 10:01

GoogleCodeExporter commented 9 years ago
Fixed in r1293.

Original comment by j...@squareup.com on 9 Aug 2014 at 6:14