You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2017/04/08 15:48:23 UTC

[3/8] lucenenet git commit: BUG: Fixed potential null reference exception. LUCENENET-558 #close

BUG: Fixed potential null reference exception. LUCENENET-558 #close


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

Branch: refs/heads/api-work
Commit: 56bc9e0135c7bf1a9c9aa00f37e6ad79666dcdfd
Parents: f19f849
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Fri Apr 7 19:37:21 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Fri Apr 7 19:37:21 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net/Support/ListExtensions.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/56bc9e01/src/Lucene.Net/Support/ListExtensions.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net/Support/ListExtensions.cs b/src/Lucene.Net/Support/ListExtensions.cs
index 7f0eddc..84ae3cb 100644
--- a/src/Lucene.Net/Support/ListExtensions.cs
+++ b/src/Lucene.Net/Support/ListExtensions.cs
@@ -15,7 +15,7 @@ namespace Lucene.Net.Support
             {
                 foreach (var item in values)
                 {
-                    lt.Add(item);
+                    list.Add(item);
                 }
             }
         }