Fix malformed JsonElement.getAsBigDecimal() javadoc (#1772)

This commit is contained in:
Marcono1234 2022-07-31 23:08:24 +02:00 committed by GitHub
parent 6d2557d5d1
commit 893a7e1c5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -268,7 +268,7 @@ public abstract class JsonElement {
*
* @return get this element as a {@link BigDecimal}.
* @throws ClassCastException if the element is of not a {@link JsonPrimitive}.
* * @throws NumberFormatException if the element is not a valid {@link BigDecimal}.
* @throws NumberFormatException if the element is not a valid {@link BigDecimal}.
* @throws IllegalStateException if the element is of the type {@link JsonArray} but contains
* more than a single element.
* @since 1.2