This commit is contained in:
Stranck 2020-12-04 01:09:18 +01:00
parent d85eea53bb
commit c7130d577a
2 changed files with 2 additions and 2 deletions

View File

@ -572,7 +572,7 @@ public class JSONArray implements Iterable<Object> {
* The JSONArray will be empty after this call returns.
*/
public void clear() {
return this.myArrayList.clear();
this.myArrayList.clear();
}
/**

View File

@ -978,7 +978,7 @@ public class JSONObject {
* The JSONObject will be empty after this call returns.
*/
public void clear() {
return this.map.clear();
this.map.clear();
}
/**