lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slomb...@apache.org
Subject [Lucene.Net] svn commit: r1082353 - /incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/DocumentsWriter.cs
Date Thu, 17 Mar 2011 00:34:45 GMT
Author: slombard
Date: Thu Mar 17 00:34:44 2011
New Revision: 1082353

URL: http://svn.apache.org/viewvc?rev=1082353&view=rev
Log:
[LUCENENET-399] Fixed PerDocBuffer.NewBuffer to overload RamFile.NewBuffer.

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=1082353&r1=1082352&r2=1082353&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 Thu Mar 17 00:34:44
2011
@@ -250,7 +250,7 @@ namespace Lucene.Net.Index
             /**
             * Allocate bytes used from shared pool.
             */
-            protected byte[] newBuffer(int size)
+            public override byte[] NewBuffer(int size)
             {
                 System.Diagnostics.Debug.Assert(size == PER_DOC_BLOCK_SIZE);
                 return enclosingInstance.perDocAllocator.GetByteBlock(false);



Mime
View raw message