mirror of https://github.com/apache/lucene.git
Fixed to work even when java.io.tmpdir system property is null.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150333 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
07013dfaf9
commit
840d9f1bb5
|
@ -54,7 +54,7 @@ public final class FSDirectory extends Directory {
|
|||
*/
|
||||
public static final String LOCK_DIR =
|
||||
System.getProperty("org.apache.lucene.lockdir",
|
||||
System.getProperty("java.io.tmpdir"));
|
||||
System.getProperty("java.io.tmpdir", "."));
|
||||
|
||||
private static MessageDigest DIGESTER;
|
||||
|
||||
|
|
Loading…
Reference in New Issue