Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-8190: Implement Closeable on TupleStream

jbernste739b81063eb9
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 2937842f929..639c08c9fb9 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -242,6 +242,8 @@ Other Changes
* SOLR-5209: Unloading or deleting the last replica of a shard now no longer
cascades to remove the shard from the clusterstate. (Christine Poerschke)
+* SOLR-8190: Implement Closeable on TupleStream (Kevin Risden, Joel Bernstein)
+
======================= 5.6.0 =======================
(No Changes)
diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/io/stream/TupleStream.java b/solr/solrj/src/java/org/apache/solr/client/solrj/io/stream/TupleStream.java
index 858e7b61830..76afa11d3b1 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/io/stream/TupleStream.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/io/stream/TupleStream.java
@@ -16,6 +16,7 @@
*/
package org.apache.solr.client.solrj.io.stream;
+import java.io.Closeable;
import java.io.IOException;
import java.io.Serializable;
import java.io.Writer;
@@ -25,7 +26,7 @@ import org.apache.solr.client.solrj.io.Tuple;
import org.apache.solr.client.solrj.io.comp.StreamComparator;
-public abstract class TupleStream implements Serializable {
+public abstract class TupleStream implements Closeable, Serializable {
private static final long serialVersionUID = 1;