lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r597371 - /lucene/java/trunk/src/java/org/apache/lucene/store/FSDirectory.java
Date Thu, 22 Nov 2007 10:46:18 GMT
Author: mikemccand
Date: Thu Nov 22 02:46:18 2007
New Revision: 597371

URL: http://svn.apache.org/viewvc?rev=597371&view=rev
Log:
LUCENE-1044: put back original ctor for FSIndexOutput

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/store/FSDirectory.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/store/FSDirectory.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/store/FSDirectory.java?rev=597371&r1=597370&r2=597371&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/store/FSDirectory.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/store/FSDirectory.java Thu Nov 22 02:46:18
2007
@@ -633,6 +633,10 @@
     private boolean isOpen;
     private boolean doSync;
 
+    public FSIndexOutput(File path) throws IOException {
+      this(path, DEFAULT_DO_SYNC);
+    }
+
     public FSIndexOutput(File path, boolean doSync) throws IOException {
       file = new RandomAccessFile(path, "rw");
 



Mime
View raw message