SOLR-8190: Implement Closeable on TupleStream

This commit is contained in:
jbernste 2016-02-11 12:44:47 -05:00
parent 360051a414
commit 739b81063e
2 changed files with 4 additions and 1 deletions

View File

@ -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)

View File

@ -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;