mirror of https://github.com/apache/lucene.git
remove a class that's not used at all
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@234196 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3b9f3cf427
commit
9b3aa1aec0
|
@ -1,21 +0,0 @@
|
|||
package org.apache.lucene.index.store;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
import org.apache.lucene.store.FSDirectory;
|
||||
import java.io.IOException;
|
||||
|
||||
abstract public class FSDirectoryTestCase extends TestCase {
|
||||
private FSDirectory directory;
|
||||
|
||||
protected final FSDirectory getDirectory() throws IOException {
|
||||
return getDirectory(false);
|
||||
}
|
||||
|
||||
protected final FSDirectory getDirectory(boolean create) throws IOException {
|
||||
if (directory == null) {
|
||||
directory = FSDirectory.getDirectory(System.getProperty("test.index.dir"), create);
|
||||
}
|
||||
|
||||
return directory;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue