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:
Doug Cutting 2004-05-11 20:01:48 +00:00
parent 07013dfaf9
commit 840d9f1bb5
1 changed files with 1 additions and 1 deletions

View File

@ -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;