diff --git a/core/src/main/java/org/elasticsearch/common/io/stream/FilterStreamInput.java b/core/src/main/java/org/elasticsearch/common/io/stream/FilterStreamInput.java index 8904e80b646..0dac786778f 100644 --- a/core/src/main/java/org/elasticsearch/common/io/stream/FilterStreamInput.java +++ b/core/src/main/java/org/elasticsearch/common/io/stream/FilterStreamInput.java @@ -26,7 +26,7 @@ import java.io.IOException; /** * Wraps a {@link StreamInput} and delegates to it. To be used to add functionality to an existing stream by subclassing. */ -public class FilterStreamInput extends StreamInput { +public abstract class FilterStreamInput extends StreamInput { private final StreamInput delegate;