We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8178792 + 8260edd commit 99bf1f8Copy full SHA for 99bf1f8
1 file changed
gson/src/main/java/com/google/gson/JsonArray.java
@@ -364,7 +364,7 @@ public byte getAsByte() {
364
* method calls {@link JsonElement#getAsCharacter()} on the element, therefore any of the
365
* exceptions declared by that method can occur.
366
*
367
- * @return this element as a primitive short if it is single element array.
+ * @return this element as a character if it is single element array.
368
* @throws IllegalStateException if the array is empty or has more than one element.
369
* @deprecated This method is misleading, as it does not get this element as a char but rather as
370
* a string's first character.
0 commit comments