Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Remove deprecated MapWriter.append

David Smileyd0897fc3c213
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 c103461d694..ed9da582fdc 100644
--- a/solr/solrj/src/java/org/apache/solr/common/MapWriter.java
+++ b/solr/solrj/src/java/org/apache/solr/common/MapWriter.java
@@ -74,15 +74,6 @@ public interface MapWriter extends MapSerializable, NavigableObject, JSONWriter.
writer.endObject();
}
- @Deprecated
- default MapWriter append(MapWriter another) {
- MapWriter m = this;
- return ew -> {
- m.writeMap(ew);
- another.writeMap(ew);
- };
- }
-
/**
* An interface to push one entry at a time to the output. The order of the keys is not defined,
* but we assume they are distinct -- don't call {@code put} more than once for the same key.