You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by cu...@apache.org on 2004/05/11 22:01:48 UTC
cvs commit: jakarta-lucene/src/java/org/apache/lucene/store FSDirectory.java
cutting 2004/05/11 13:01:48
Modified: src/java/org/apache/lucene/store FSDirectory.java
Log:
Fixed to work even when java.io.tmpdir system property is null.
Revision Changes Path
1.30 +1 -1 jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.java
Index: FSDirectory.java
===================================================================
RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- FSDirectory.java 11 May 2004 17:43:28 -0000 1.29
+++ FSDirectory.java 11 May 2004 20:01:48 -0000 1.30
@@ -54,7 +54,7 @@
*/
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;
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org