From 3c9573cc3d3182ac5210c8337ac67cbca60a99c0 Mon Sep 17 00:00:00 2001 From: "John J. Aylward" Date: Mon, 27 Jul 2020 11:54:20 -0400 Subject: [PATCH] update some javadoc --- src/main/java/org/json/JSONArray.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/json/JSONArray.java b/src/main/java/org/json/JSONArray.java index 547bf9c..684fb37 100644 --- a/src/main/java/org/json/JSONArray.java +++ b/src/main/java/org/json/JSONArray.java @@ -1242,12 +1242,12 @@ public class JSONArray implements Iterable { * Put an array's elements in to the JSONArray. * * @param array - * Array. If the parameter passed is null, or not an array, an + * Array. If the parameter passed is null, or not an array or Iterable, an * exception will be thrown. * @return this. * * @throws JSONException - * If not an array or if an array value is non-finite number. + * If not an array, JSONArray, Iterable or if an value is non-finite number. * @throws NullPointerException * Thrown if the array parameter is null. */