You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2011/05/05 12:06:41 UTC
svn commit: r1099745 -
/lucene/dev/trunk/lucene/src/java/org/apache/lucene/index/CompoundFileWriter.java
Author: rmuir
Date: Thu May 5 10:06:41 2011
New Revision: 1099745
URL: http://svn.apache.org/viewvc?rev=1099745&view=rev
Log:
LUCENE-3073: make CompoundFileWriter public
Modified:
lucene/dev/trunk/lucene/src/java/org/apache/lucene/index/CompoundFileWriter.java
Modified: lucene/dev/trunk/lucene/src/java/org/apache/lucene/index/CompoundFileWriter.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apache/lucene/index/CompoundFileWriter.java?rev=1099745&r1=1099744&r2=1099745&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/src/java/org/apache/lucene/index/CompoundFileWriter.java (original)
+++ lucene/dev/trunk/lucene/src/java/org/apache/lucene/index/CompoundFileWriter.java Thu May 5 10:06:41 2011
@@ -46,8 +46,10 @@ import org.apache.lucene.util.IOUtils;
* file. The {directory} that follows has that many entries. Each directory entry
* contains a long pointer to the start of this file's data section, and a String
* with that file's name.
+ *
+ * @lucene.internal
*/
-final class CompoundFileWriter {
+public final class CompoundFileWriter {
private static final class FileEntry {
/** source file */
@@ -136,8 +138,7 @@ final class CompoundFileWriter {
/** Merge files with the extensions added up to now.
* All files with these extensions are combined sequentially into the
- * compound stream. After successful merge, the source files
- * are deleted.
+ * compound stream.
* @throws IllegalStateException if close() had been called before or
* if no file has been added to this object
*/