mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-06 02:35:33 +08:00
Oops
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user