lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [16/38] lucenenet git commit: API: Lucene.Net.Search.BitsFilteredDocIdSet: Changed constructor to throw ArgumentNullException instead of NullReferenceException
Date Thu, 22 Jun 2017 05:25:17 GMT
API: Lucene.Net.Search.BitsFilteredDocIdSet: Changed constructor to throw ArgumentNullException
instead of NullReferenceException


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

Branch: refs/heads/master
Commit: 20de98744bedf137e513732b25271574f5c16534
Parents: 6f24c03
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sat Jun 17 14:19:27 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Sat Jun 17 14:19:27 2017 +0700

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


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/20de9874/src/Lucene.Net/Search/BitsFilteredDocIdSet.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net/Search/BitsFilteredDocIdSet.cs b/src/Lucene.Net/Search/BitsFilteredDocIdSet.cs
index 5de931c..9fedb4f 100644
--- a/src/Lucene.Net/Search/BitsFilteredDocIdSet.cs
+++ b/src/Lucene.Net/Search/BitsFilteredDocIdSet.cs
@@ -55,7 +55,7 @@ namespace Lucene.Net.Search
         {
             if (acceptDocs == null)
             {
-                throw new System.NullReferenceException("acceptDocs is null"); // LUCENENET
TODO: API throw ArgumentNullException ?
+                throw new ArgumentNullException("acceptDocs is null");
             }
             this.acceptDocs = acceptDocs;
         }


Mime
View raw message