From cadba9400c56848527c298f3c9f5cfad9c69ff4c Mon Sep 17 00:00:00 2001 From: Andrew Fletcher Date: Wed, 2 Dec 2015 10:49:54 -0800 Subject: [PATCH] Update JavaDoc for JSONObject Constructors Two JSONObject constructors incorrectly specify a @throws JSONException tag in the JavaDoc for those constructors. Remove the relevant JavaDoc. --- JSONObject.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/JSONObject.java b/JSONObject.java index a23daab..2ac21c9 100755 --- a/JSONObject.java +++ b/JSONObject.java @@ -165,10 +165,6 @@ public class JSONObject { * A JSONObject. * @param names * 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) { this(); @@ -241,7 +237,6 @@ public class JSONObject { * @param map * A map object that can be used to initialize the contents of * the JSONObject. - * @throws JSONException */ public JSONObject(Map map) { this.map = new HashMap();