Closes gh-15563
@ -65,8 +65,8 @@ public class JSONArray {
public JSONArray(Collection copyFrom) {
this();
if (copyFrom != null) {
for (Object value : copyFrom) {
for (Iterator it = copyFrom.iterator(); it.hasNext();) {
put(JSONObject.wrap(value));
put(JSONObject.wrap(it.next()));
}