mirror of
https://github.com/ethauvin/JSON-java.git
synced 2025-06-17 07:50:52 -07:00
fixes for javadoc
This commit is contained in:
parent
fcdb8671b2
commit
0c7bd725a6
2 changed files with 1 additions and 5 deletions
|
@ -816,8 +816,6 @@ public class JSONArray implements Iterable<Object> {
|
||||||
*
|
*
|
||||||
* @param index
|
* @param index
|
||||||
* The index must be between 0 and length() - 1.
|
* The index must be between 0 and length() - 1.
|
||||||
* @param defaultValue
|
|
||||||
* The default.
|
|
||||||
* @return An object which is the value.
|
* @return An object which is the value.
|
||||||
*/
|
*/
|
||||||
public Number optNumber(int index) {
|
public Number optNumber(int index) {
|
||||||
|
@ -858,7 +856,7 @@ public class JSONArray implements Iterable<Object> {
|
||||||
/**
|
/**
|
||||||
* Get the optional string value associated with an index. It returns an
|
* Get the optional string value associated with an index. It returns an
|
||||||
* empty string if there is no value at that index. If the value is not a
|
* empty string if there is no value at that index. If the value is not a
|
||||||
* string and is not null, then it is coverted to a string.
|
* string and is not null, then it is converted to a string.
|
||||||
*
|
*
|
||||||
* @param index
|
* @param index
|
||||||
* The index must be between 0 and length() - 1.
|
* The index must be between 0 and length() - 1.
|
||||||
|
|
|
@ -1232,8 +1232,6 @@ public class JSONObject {
|
||||||
*
|
*
|
||||||
* @param key
|
* @param key
|
||||||
* A key string.
|
* A key string.
|
||||||
* @param defaultValue
|
|
||||||
* The default.
|
|
||||||
* @return An object which is the value.
|
* @return An object which is the value.
|
||||||
*/
|
*/
|
||||||
public Number optNumber(String key) {
|
public Number optNumber(String key) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue