You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by kr...@apache.org on 2022/03/01 20:24:30 UTC

[solr] branch branch_9x updated: SOLR-14920: Address XMLResponseParser missed reformatting

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

krisden pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new 0673de0  SOLR-14920: Address XMLResponseParser missed reformatting
0673de0 is described below

commit 0673de0d6fc6c8c151f10ea96e727370875d99da
Author: Kevin Risden <kr...@apache.org>
AuthorDate: Tue Mar 1 15:18:31 2022 -0500

    SOLR-14920: Address XMLResponseParser missed reformatting
---
 .../java/org/apache/solr/client/solrj/impl/XMLResponseParser.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/XMLResponseParser.java b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/XMLResponseParser.java
index eb7bb11..909679f 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/XMLResponseParser.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/XMLResponseParser.java
@@ -419,8 +419,8 @@ public class XMLResponseParser extends ResponseParser {
           vals.add(val);
           break;
 
-        case XMLStreamConstants
-            .SPACE: // TODO?  should this be trimmed? make sure it only gets one/two space?
+        case XMLStreamConstants.SPACE:
+          // TODO?  should this be trimmed? make sure it only gets one/two space?
         case XMLStreamConstants.CDATA:
         case XMLStreamConstants.CHARACTERS:
           builder.append(parser.getText());
@@ -543,8 +543,8 @@ public class XMLResponseParser extends ResponseParser {
           doc.addField(name, val);
           break;
 
-        case XMLStreamConstants
-            .SPACE: // TODO?  should this be trimmed? make sure it only gets one/two space?
+        case XMLStreamConstants.SPACE:
+          // TODO?  should this be trimmed? make sure it only gets one/two space?
         case XMLStreamConstants.CDATA:
         case XMLStreamConstants.CHARACTERS:
           builder.append(parser.getText());