This is an automated email from the ASF dual-hosted git repository.
dsmiley 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 49938b8a173 Deprecate MapWriter.append
49938b8a173 is described below
commit 49938b8a1731ef099d9074a6e7607d64cd9d45a4
Author: David Smiley <[email protected]>
AuthorDate: Sat Dec 28 00:01:30 2024 -0500
Deprecate MapWriter.append
See https://github.com/apache/solr/pull/2919
---
solr/solrj/src/java/org/apache/solr/common/MapWriter.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/solr/solrj/src/java/org/apache/solr/common/MapWriter.java
b/solr/solrj/src/java/org/apache/solr/common/MapWriter.java
index 0bbe2dc50a0..247460bbc89 100644
--- a/solr/solrj/src/java/org/apache/solr/common/MapWriter.java
+++ b/solr/solrj/src/java/org/apache/solr/common/MapWriter.java
@@ -72,6 +72,7 @@ public interface MapWriter extends MapSerializable,
NavigableObject, JSONWriter.
void writeMap(EntryWriter ew) throws IOException;
+ @Deprecated
default MapWriter append(MapWriter another) {
MapWriter m = this;
return ew -> {