Apache Solr open-source search software
Fixed to work even when java.io.tmpdir system property is null.
Doug Cutting840d9f1bb526
diff --git a/src/java/org/apache/lucene/store/FSDirectory.java b/src/java/org/apache/lucene/store/FSDirectory.javaindex 8e0a2fe5d26..5e313aae195 100644--- a/src/java/org/apache/lucene/store/FSDirectory.java+++ b/src/java/org/apache/lucene/store/FSDirectory.java@@ -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;