Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh@opensourceconnections.com committed Feb 12, 2021
1 parent 02ea7a1 commit 3ea64b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions solr/core/src/java/org/apache/solr/response/JSONWriter.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ public JSONWriter(Writer writer, SolrQueryRequest req, SolrQueryResponse rsp,
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();

Expand Down

0 comments on commit 3ea64b3

Please sign in to comment.