Skip to content

Commit d85eea5

Browse files
committed
Update JSONArray.java
1 parent 57ad94e commit d85eea5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/json/JSONArray.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ public int length() {
572572
* The JSONArray will be empty after this call returns.
573573
*/
574574
public void clear() {
575-
return this.map.clear();
575+
return this.myArrayList.clear();
576576
}
577577

578578
/**

0 commit comments

Comments
 (0)