lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [Lucene.Net] svn commit: r1084738 - /incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/IndexWriter.cs
Date Wed, 23 Mar 2011 20:58:44 GMT
Author: digy
Date: Wed Mar 23 20:58:44 2011
New Revision: 1084738

URL: http://svn.apache.org/viewvc?rev=1084738&view=rev
Log:
[LUCENENET-399] bug not caught by any test case. 

Modified:
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/IndexWriter.cs

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/IndexWriter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Index/IndexWriter.cs?rev=1084738&r1=1084737&r2=1084738&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/IndexWriter.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/IndexWriter.cs Wed Mar 23 20:58:44
2011
@@ -6528,7 +6528,7 @@ namespace Lucene.Net.Index
                                 {
                                     break;
                                 }
-                                toSync.Remove(toSync.Count - 1);
+                                toSync.RemoveAt(toSync.Count - 1);
                                 changeCount++;
                             }
                         }



Mime
View raw message