Skip to content

Apache Lucene open-source search software

remove an unused variable

Daniel Naber043baabb6267
diff --git a/src/java/org/apache/lucene/index/CompoundFileReader.java b/src/java/org/apache/lucene/index/CompoundFileReader.java
index 8692cd6c4e5..84b568dc72c 100644
--- a/src/java/org/apache/lucene/index/CompoundFileReader.java
+++ b/src/java/org/apache/lucene/index/CompoundFileReader.java
@@ -44,9 +44,6 @@ class CompoundFileReader extends Directory {
private Directory directory;
private String fileName;
- // Reference count
- private boolean open;
-
private InputStream stream;
private HashMap entries = new HashMap();
@@ -226,7 +223,7 @@ class CompoundFileReader extends Directory {
*/
protected void seekInternal(long pos) {}
- /** Closes the stream to futher operations. */
+ /** Closes the stream to further operations. */
public void close() {}
}