mirror of https://github.com/apache/lucene.git
LUCENE-1658: Fix ClassCastException during cloneing SimpleFSIndexInput
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780320 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
586340d6d1
commit
98e2f78189
|
@ -132,7 +132,7 @@ public class SimpleFSDirectory extends FSDirectory {
|
|||
}
|
||||
|
||||
public Object clone() {
|
||||
FSIndexInput clone = (FSIndexInput)super.clone();
|
||||
SimpleFSIndexInput clone = (SimpleFSIndexInput)super.clone();
|
||||
clone.isClone = true;
|
||||
return clone;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue