Re: Making RAMDirectory non final?

2006-11-22 Thread Doug Cutting
Michael McCandless wrote: But to do this I'd need to make RAMDirectory non-final. Any objections to this? I can think of no reason it must be final. Doug - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Making RAMDirectory non final?

2006-11-22 Thread Michael McCandless
Hi, I'm working on a unit test for: http://issues.apache.org/jira/browse/LUCENE-702 which is the "disk full during addIndexes() can corrupt index" issue. I think the simplest way to do this is to subclass RAMDirectory to create a MockDiskFullRAMDirectory class (and a corresponding MockDisk