diff --git a/JSONArray.java b/JSONArray.java index bfab701..a692ba4 100644 --- a/JSONArray.java +++ b/JSONArray.java @@ -816,8 +816,6 @@ public class JSONArray implements Iterable { * * @param index * The index must be between 0 and length() - 1. - * @param defaultValue - * The default. * @return An object which is the value. */ public Number optNumber(int index) { @@ -858,7 +856,7 @@ public class JSONArray implements Iterable { /** * 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 - * 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 * The index must be between 0 and length() - 1. diff --git a/JSONObject.java b/JSONObject.java index 3ca47d0..09b4317 100644 --- a/JSONObject.java +++ b/JSONObject.java @@ -1232,8 +1232,6 @@ public class JSONObject { * * @param key * A key string. - * @param defaultValue - * The default. * @return An object which is the value. */ public Number optNumber(String key) {