mirror of https://github.com/apache/lucene.git
LUCENE-3057: removed false return statement
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1098375 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d3c5769911
commit
0528549d17
|
@ -1057,7 +1057,6 @@ public abstract class LuceneTestCase extends Assert {
|
||||||
// LockFactory too, so setting it afterwards.
|
// LockFactory too, so setting it afterwards.
|
||||||
Constructor<? extends FSDirectory> ctor = clazz.getConstructor(File.class);
|
Constructor<? extends FSDirectory> ctor = clazz.getConstructor(File.class);
|
||||||
d = ctor.newInstance(file);
|
d = ctor.newInstance(file);
|
||||||
return d;
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
d = FSDirectory.open(file);
|
d = FSDirectory.open(file);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue