mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 03:15:32 -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);
|
this.myArrayList = new ArrayList<Object>(initialCapacity);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
protected Object clone() {
|
|
||||||
return new JSONArray(this.myArrayList);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Iterator<Object> iterator() {
|
public Iterator<Object> iterator() {
|
||||||
return this.myArrayList.iterator();
|
return this.myArrayList.iterator();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user