mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 03:15:32 -04:00
fix typo
This commit is contained in:
parent
b75da07545
commit
6aed1cfeb6
@ -1694,7 +1694,7 @@ public class JSONArray implements Iterable<Object> {
|
||||
*/
|
||||
@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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user