You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by di...@apache.org on 2008/11/18 21:32:03 UTC
svn commit: r718706 -
/incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/DocumentsWriter.cs
Author: digy
Date: Tue Nov 18 12:32:01 2008
New Revision: 718706
URL: http://svn.apache.org/viewvc?rev=718706&view=rev
Log:
LUCENENET-150 (DocumentsWriter.ReusableStringReader does not implement some methods of StringReader)
Modified:
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/DocumentsWriter.cs
Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/DocumentsWriter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Index/DocumentsWriter.cs?rev=718706&r1=718705&r2=718706&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/DocumentsWriter.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/DocumentsWriter.cs Tue Nov 18 12:32:01 2008
@@ -3253,7 +3253,12 @@
public override void Close()
{
}
-
+ public override string ReadToEnd()
+ {
+ if (left == 0) return null;
+ left = 0;
+ return s;
+ }
}
/* IndexInput that knows how to read the byte slices written