You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by ot...@apache.org on 2004/01/30 17:36:10 UTC
cvs commit: jakarta-lucene/src/java/org/apache/lucene/store FSDirectory.java
otis 2004/01/30 08:36:10
Modified: src/java/org/apache/lucene/store FSDirectory.java
Log:
- Applied a small patch from Mladen Turk
Revision Changes Path
1.22 +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.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- FSDirectory.java 25 Sep 2003 21:50:11 -0000 1.21
+++ FSDirectory.java 30 Jan 2004 16:36:10 -0000 1.22
@@ -156,7 +156,7 @@
private synchronized void create() throws IOException {
if (!directory.exists())
- if (!directory.mkdir())
+ if (!directory.mkdirs())
throw new IOException("Cannot create directory: " + directory);
String[] files = directory.list(); // clear old files
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org