From 065f9a94bca0ec21698d4e252e9b148899f420b6 Mon Sep 17 00:00:00 2001 From: gavriil Date: Tue, 29 Oct 2019 21:35:58 +0000 Subject: [PATCH] Issue-491 - modified the comment of JSONArray toList method to clarify what the output of the method is --- JSONArray.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JSONArray.java b/JSONArray.java index d46a76866..14a1b0157 100644 --- a/JSONArray.java +++ b/JSONArray.java @@ -1454,7 +1454,7 @@ public Writer write(Writer writer, int indentFactor, int indent) /** * Returns a java.util.List containing all of the elements in this array. * If an element in the array is a JSONArray or JSONObject it will also - * be converted. + * be converted to a List and a Map respectively. *

* Warning: This method assumes that the data structure is acyclical. *