mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-02 11:05:28 -04:00
Merge pull request #179 from andrew-fletcher/UpdateJavaDocForJSONOBject
Remove throws JSONException JavaDoc from 2 methods that do not throw this exception.
This commit is contained in:
commit
2ec538f420
@ -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<String, Object>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user