diff --git a/lucene/core/src/java/org/apache/lucene/store/BufferedChecksumIndexInput.java b/lucene/core/src/java/org/apache/lucene/store/BufferedChecksumIndexInput.java index d3fb088776e..c91a314ac16 100644 --- a/lucene/core/src/java/org/apache/lucene/store/BufferedChecksumIndexInput.java +++ b/lucene/core/src/java/org/apache/lucene/store/BufferedChecksumIndexInput.java @@ -69,4 +69,9 @@ public class BufferedChecksumIndexInput extends ChecksumIndexInput { public long length() { return main.length(); } + + @Override + public IndexInput clone() { + throw new UnsupportedOperationException(); + } }