Added @since to the JavaDoc for the new methods added to JsonElement.

Suggested in the r296 code review.
This commit is contained in:
Joel Leitch 2008-12-18 19:25:22 +00:00
parent de713614af
commit 0993d729e4
2 changed files with 3 additions and 1 deletions

View File

@ -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();