mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-02 19:15:27 -04:00
remove clone
This commit is contained in:
parent
3c9573cc3d
commit
c175a9eb62
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user