mirror of https://github.com/apache/lucene.git
LUCENE-5586: BufferedChecksumIndexInput.clone now throws an UnsupportedOperationException.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586239 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
60be1d46bb
commit
9608b95934
|
@ -69,4 +69,9 @@ public class BufferedChecksumIndexInput extends ChecksumIndexInput {
|
||||||
public long length() {
|
public long length() {
|
||||||
return main.length();
|
return main.length();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public IndexInput clone() {
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue