mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-07 03:06:03 +08:00
Update JavaDoc for JSONObject Constructors
Two JSONObject constructors incorrectly specify a @throws JSONException tag in the JavaDoc for those constructors. Remove the relevant JavaDoc.
This commit is contained in:
@@ -165,10 +165,6 @@ public class JSONObject {
|
|||||||
* A JSONObject.
|
* A JSONObject.
|
||||||
* @param names
|
* @param names
|
||||||
* An array of strings.
|
* An array of strings.
|
||||||
* @throws JSONException
|
|
||||||
* @exception JSONException
|
|
||||||
* If a value is a non-finite number or if a name is
|
|
||||||
* duplicated.
|
|
||||||
*/
|
*/
|
||||||
public JSONObject(JSONObject jo, String[] names) {
|
public JSONObject(JSONObject jo, String[] names) {
|
||||||
this();
|
this();
|
||||||
@@ -241,7 +237,6 @@ public class JSONObject {
|
|||||||
* @param map
|
* @param map
|
||||||
* A map object that can be used to initialize the contents of
|
* A map object that can be used to initialize the contents of
|
||||||
* the JSONObject.
|
* the JSONObject.
|
||||||
* @throws JSONException
|
|
||||||
*/
|
*/
|
||||||
public JSONObject(Map<?, ?> map) {
|
public JSONObject(Map<?, ?> map) {
|
||||||
this.map = new HashMap<String, Object>();
|
this.map = new HashMap<String, Object>();
|
||||||
|
Reference in New Issue
Block a user