mirror of https://github.com/apache/lucene.git
typo fix
This commit is contained in:
parent
02ea7a1139
commit
3ea64b39cb
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue