Skip to content

Commit c175a9e

Browse files
author
John J. Aylward
committed
remove clone
1 parent 3c9573c commit c175a9e

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,6 @@ public JSONArray(int initialCapacity) throws JSONException {
243243
this.myArrayList = new ArrayList<Object>(initialCapacity);
244244
}
245245

246-
@Override
247-
protected Object clone() {
248-
return new JSONArray(this.myArrayList);
249-
}
250-
251246
@Override
252247
public Iterator<Object> iterator() {
253248
return this.myArrayList.iterator();

0 commit comments

Comments
 (0)