You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ep...@apache.org on 2021/02/12 15:08:33 UTC

[lucene-solr] branch branch_8x updated: typo fix

This is an automated email from the ASF dual-hosted git repository.

epugh pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new 4b0b67f  typo fix
4b0b67f is described below

commit 4b0b67fdc6e172744b6679392265a6fe650e75ca
Author: epugh@opensourceconnections.com <>
AuthorDate: Fri Feb 12 10:07:46 2021 -0500

    typo fix
---
 solr/core/src/java/org/apache/solr/response/JSONWriter.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/solr/core/src/java/org/apache/solr/response/JSONWriter.java b/solr/core/src/java/org/apache/solr/response/JSONWriter.java
index 48587a9..a4ef965 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();