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/06/22 05:25:17 UTC
[16/38] lucenenet git commit: API:
Lucene.Net.Search.BitsFilteredDocIdSet: Changed constructor to throw
ArgumentNullException instead of NullReferenceException
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 <sh...@shadstorhaug.com>
Authored: Sat Jun 17 14:19:27 2017 +0700
Committer: Shad Storhaug <sh...@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;
}