You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by dn...@apache.org on 2005/07/03 12:40:05 UTC

svn commit: r208905 - /lucene/java/trunk/src/java/org/apache/lucene/index/CompoundFileReader.java

Author: dnaber
Date: Sun Jul  3 03:40:01 2005
New Revision: 208905

URL: http://svn.apache.org/viewcvs?rev=208905&view=rev
Log:
import statement cleanup; fix javadoc comments

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/index/CompoundFileReader.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/index/CompoundFileReader.java
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/java/org/apache/lucene/index/CompoundFileReader.java?rev=208905&r1=208904&r2=208905&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/index/CompoundFileReader.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/index/CompoundFileReader.java Sun Jul  3 03:40:01 2005
@@ -17,16 +17,13 @@
  */
 
 import org.apache.lucene.store.Directory;
-import org.apache.lucene.store.FSDirectory;
 import org.apache.lucene.store.IndexInput;
 import org.apache.lucene.store.BufferedIndexInput;
 import org.apache.lucene.store.IndexOutput;
 import org.apache.lucene.store.Lock;
 
-import java.util.Arrays;
 import java.util.HashMap;
 import java.io.IOException;
-import java.io.FileOutputStream;
 
 
 /**
@@ -138,12 +135,12 @@
         return entries.containsKey(name);
     }
 
-    /** Returns the time the named file was last modified. */
+    /** Returns the time the compound file was last modified. */
     public long fileModified(String name) throws IOException {
         return directory.fileModified(fileName);
     }
 
-    /** Set the modified time of an existing file to now. */
+    /** Set the modified time of the compound file to now. */
     public void touchFile(String name) throws IOException {
         directory.touchFile(fileName);
     }