From 6aed1cfeb6458cc0f533dbda29c44564bb67017b Mon Sep 17 00:00:00 2001 From: Simulant87 Date: Mon, 18 Mar 2024 23:07:22 +0100 Subject: [PATCH] fix typo --- src/main/java/org/json/JSONArray.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/json/JSONArray.java b/src/main/java/org/json/JSONArray.java index 015a21b..df0b299 100644 --- a/src/main/java/org/json/JSONArray.java +++ b/src/main/java/org/json/JSONArray.java @@ -1694,7 +1694,7 @@ public class JSONArray implements Iterable { */ @SuppressWarnings("resource") public String toString(int indentFactor) throws JSONException { - // each value requires a comma, so multiply the count my 2 + // each value requires a comma, so multiply the count by 2 // We don't want to oversize the initial capacity int initialSize = myArrayList.size() * 2; Writer sw = new StringBuilderWriter(Math.max(initialSize, 16));