Thanks Alan! I just committed that... Mike McCandless
http://blog.mikemccandless.com On Wed, Aug 29, 2012 at 1:57 PM, Alan Woodward <[email protected]> wrote: > Obviously overlooked when adapting from ChecksumIndexOutput. Patch inline, > it didn't seem worth opening a JIRA for! > > Alan Woodward > www.romseysoftware.co.uk > > diff --git > a/lucene/core/src/java/org/apache/lucene/store/ChecksumIndexInput.java > b/lucene/core/src/java/org/apache/lucene/store/ChecksumIndexInput.java > index 224ca0d..0626aca 100644 > --- a/lucene/core/src/java/org/apache/lucene/store/ChecksumIndexInput.java > +++ b/lucene/core/src/java/org/apache/lucene/store/ChecksumIndexInput.java > @@ -21,7 +21,7 @@ import java.io.IOException; > import java.util.zip.CRC32; > import java.util.zip.Checksum; > > -/** Writes bytes through to a primary IndexOutput, computing > +/** Reads bytes through a primary IndexInput, computing > * checksum as it goes. Note that you cannot use seek(). > * > * @lucene.internal > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
