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:19:06 UTC
[solr] branch main 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 main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new 86ce5d6 SOLR-14920: Address XMLResponseParser missed reformatting
86ce5d6 is described below
commit 86ce5d6f5c2f0484068b99830029a5f85bfeab02
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());