Skip to content

Commit 0c7bd72

Browse files
author
John J. Aylward
committed
fixes for javadoc
1 parent fcdb867 commit 0c7bd72

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

JSONArray.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -816,8 +816,6 @@ public long optLong(int index, long defaultValue) {
816816
*
817817
* @param index
818818
* The index must be between 0 and length() - 1.
819-
* @param defaultValue
820-
* The default.
821819
* @return An object which is the value.
822820
*/
823821
public Number optNumber(int index) {
@@ -858,7 +856,7 @@ public Number optNumber(int index, Number defaultValue) {
858856
/**
859857
* Get the optional string value associated with an index. It returns an
860858
* empty string if there is no value at that index. If the value is not a
861-
* string and is not null, then it is coverted to a string.
859+
* string and is not null, then it is converted to a string.
862860
*
863861
* @param index
864862
* The index must be between 0 and length() - 1.

JSONObject.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,8 +1232,6 @@ public long optLong(String key, long defaultValue) {
12321232
*
12331233
* @param key
12341234
* A key string.
1235-
* @param defaultValue
1236-
* The default.
12371235
* @return An object which is the value.
12381236
*/
12391237
public Number optNumber(String key) {

0 commit comments

Comments
 (0)