You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by no...@apache.org on 2022/11/13 23:09:27 UTC
[solr] branch branch_9x updated: Revert "SOLR-16512: Fix writing JSON objects in NoggitJSONWriter"
This is an automated email from the ASF dual-hosted git repository.
noble 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 dfa38b68fd9 Revert "SOLR-16512: Fix writing JSON objects in NoggitJSONWriter"
dfa38b68fd9 is described below
commit dfa38b68fd93b0f16819cc697e5a208f8e9de706
Author: Noble Paul <no...@gmail.com>
AuthorDate: Mon Nov 14 10:08:53 2022 +1100
Revert "SOLR-16512: Fix writing JSON objects in NoggitJSONWriter"
This reverts commit 9f63fd8033e68bfc270f6555e4a462d5d6f39211.
SOLR-16530: revert until perf issues are fixed
---
solr/solrj/src/java/org/apache/solr/common/util/NoggitJSONWriter.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/solr/solrj/src/java/org/apache/solr/common/util/NoggitJSONWriter.java b/solr/solrj/src/java/org/apache/solr/common/util/NoggitJSONWriter.java
index 7dc474faa6b..d31e598604c 100644
--- a/solr/solrj/src/java/org/apache/solr/common/util/NoggitJSONWriter.java
+++ b/solr/solrj/src/java/org/apache/solr/common/util/NoggitJSONWriter.java
@@ -59,7 +59,7 @@ public class NoggitJSONWriter extends JSONWriter {
private IteratorWriter.ItemWriter itemWriter() {
return new IteratorWriter.ItemWriter() {
- private boolean first = true;
+ private boolean first;
@Override
public IteratorWriter.ItemWriter add(Object o) {
@@ -77,7 +77,7 @@ public class NoggitJSONWriter extends JSONWriter {
private MapWriter.EntryWriter entryWriter() {
return new MapWriter.EntryWriter() {
- private boolean first = true;
+ private boolean first;
@Override
public MapWriter.EntryWriter put(CharSequence k, Object v) {