mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-06 02:35:33 +08:00
remove clone
This commit is contained in:
@@ -243,11 +243,6 @@ public class JSONArray implements Iterable<Object> {
|
||||
this.myArrayList = new ArrayList<Object>(initialCapacity);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Object clone() {
|
||||
return new JSONArray(this.myArrayList);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Iterator<Object> iterator() {
|
||||
return this.myArrayList.iterator();
|
||||
|
Reference in New Issue
Block a user