Skip to content

Commit 2ec538f

Browse files
committed
Merge pull request stleary#179 from andrew-fletcher/UpdateJavaDocForJSONOBject
Remove throws JSONException JavaDoc from 2 methods that do not throw this exception.
2 parents 44275e3 + cadba94 commit 2ec538f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

JSONObject.java

-5
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)