lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r718706 - /incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/DocumentsWriter.cs
Date Tue, 18 Nov 2008 20:32:03 GMT
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



Mime
View raw message