Skip to content

Commit cadba94

Browse files
Update JavaDoc for JSONObject Constructors
Two JSONObject constructors incorrectly specify a @throws JSONException tag in the JavaDoc for those constructors. Remove the relevant JavaDoc.
1 parent 44275e3 commit cadba94

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

JSONObject.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,6 @@ public JSONObject() {
165165
* A JSONObject.
166166
* @param names
167167
* An array of strings.
168-
* @throws JSONException
169-
* @exception JSONException
170-
* If a value is a non-finite number or if a name is
171-
* duplicated.
172168
*/
173169
public JSONObject(JSONObject jo, String[] names) {
174170
this();
@@ -241,7 +237,6 @@ public JSONObject(JSONTokener x) throws JSONException {
241237
* @param map
242238
* A map object that can be used to initialize the contents of
243239
* the JSONObject.
244-
* @throws JSONException
245240
*/
246241
public JSONObject(Map<?, ?> map) {
247242
this.map = new HashMap<String, Object>();

0 commit comments

Comments
 (0)