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:28:16 UTC

[solr] branch branch_9_0 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_9_0
in repository https://gitbox.apache.org/repos/asf/solr.git


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

commit 9c6e1a72aa3d927d5020d111df88acde3446eb81
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 f53e661..a265f5d 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
@@ -417,8 +417,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());
@@ -541,8 +541,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());