Apache Solr open-source search software
typo fix
[email protected]3ea64b39cbc2
diff --git a/solr/core/src/java/org/apache/solr/response/JSONWriter.java b/solr/core/src/java/org/apache/solr/response/JSONWriter.javaindex cef8b7d1d0f..4e176966977 100644--- a/solr/core/src/java/org/apache/solr/response/JSONWriter.java+++ b/solr/core/src/java/org/apache/solr/response/JSONWriter.java@@ -45,16 +45,16 @@ public class JSONWriter extends TextResponseWriter implements JsonTextWriter {this.wrapperFunction = wrapperFunction;this.namedListStyle = namedListStyle;}- private JSONWriter(Writer writer, boolean intend, String namedListStyle) throws IOException {- super(writer, intend);+ private JSONWriter(Writer writer, boolean indent, String namedListStyle) throws IOException {+ super(writer, indent);this.namedListStyle = namedListStyle;}/**Strictly for testing only*/- public static void write(Writer writer, boolean intend, String namedListStyle, Object val) throws IOException {- JSONWriter jw = new JSONWriter(writer, intend, namedListStyle);+ public static void write(Writer writer, boolean indent, String namedListStyle, Object val) throws IOException {+ JSONWriter jw = new JSONWriter(writer, indent, namedListStyle);jw.writeVal(null, val);jw.close();