lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject lucenenet git commit: Fixing NRE
Date Fri, 20 Feb 2015 10:39:50 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master 5f3998ba8 -> 26115849d


Fixing NRE


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/26115849
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/26115849
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/26115849

Branch: refs/heads/master
Commit: 26115849d652aa6219d1495f095a40f64d30bf14
Parents: 5f3998b
Author: Itamar Syn-Hershko <itamar@code972.com>
Authored: Fri Feb 20 12:39:30 2015 +0200
Committer: Itamar Syn-Hershko <itamar@code972.com>
Committed: Fri Feb 20 12:39:30 2015 +0200

----------------------------------------------------------------------
 src/Lucene.Net.Core/Index/BufferedUpdates.cs | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/26115849/src/Lucene.Net.Core/Index/BufferedUpdates.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Index/BufferedUpdates.cs b/src/Lucene.Net.Core/Index/BufferedUpdates.cs
index 706bd14..20ecbb9 100644
--- a/src/Lucene.Net.Core/Index/BufferedUpdates.cs
+++ b/src/Lucene.Net.Core/Index/BufferedUpdates.cs
@@ -156,6 +156,7 @@ namespace Lucene.Net.Index
         public BufferedUpdates()
         {
             this.BytesUsed = new AtomicLong();
+            Terms = new Dictionary<Term, int?>();
         }
 
         public override string ToString()


Mime
View raw message