Added @since to the JavaDoc for the new methods added to JsonElement.
Suggested in the r296 code review.
This commit is contained in:
parent
de713614af
commit
0993d729e4
@ -230,6 +230,7 @@ public abstract class JsonElement {
|
|||||||
* byte value.
|
* byte value.
|
||||||
* @throws IllegalStateException if the element is of the type {@link JsonArray} but contains
|
* @throws IllegalStateException if the element is of the type {@link JsonArray} but contains
|
||||||
* more than a single element.
|
* more than a single element.
|
||||||
|
* @since 1.3
|
||||||
*/
|
*/
|
||||||
public byte getAsByte() {
|
public byte getAsByte() {
|
||||||
throw new UnsupportedOperationException();
|
throw new UnsupportedOperationException();
|
||||||
@ -243,6 +244,7 @@ public abstract class JsonElement {
|
|||||||
* char value.
|
* char value.
|
||||||
* @throws IllegalStateException if the element is of the type {@link JsonArray} but contains
|
* @throws IllegalStateException if the element is of the type {@link JsonArray} but contains
|
||||||
* more than a single element.
|
* more than a single element.
|
||||||
|
* @since 1.3
|
||||||
*/
|
*/
|
||||||
public char getAsCharacter() {
|
public char getAsCharacter() {
|
||||||
throw new UnsupportedOperationException();
|
throw new UnsupportedOperationException();
|
||||||
|
Loading…
Reference in New Issue
Block a user