remove clone

This commit is contained in:
John J. Aylward 2020-07-29 15:30:02 -04:00
parent 3c9573cc3d
commit c175a9eb62

View File

@ -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();