lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [01/11] lucenenet git commit: Lucene.Net.QueryParser.Flexible.Core.Processors.QueryNodeProcessor: Added TODO about changing NullReferenceException to ArgumentException
Date Thu, 26 Jan 2017 11:12:14 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/api-work 726c43f04 -> 8174a11cc


Lucene.Net.QueryParser.Flexible.Core.Processors.QueryNodeProcessor: Added TODO about changing
NullReferenceException to ArgumentException


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

Branch: refs/heads/api-work
Commit: 332b24c437a6ac14224bd32ce50fd83530b0c5a5
Parents: 726c43f
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Thu Jan 26 14:05:54 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Thu Jan 26 14:05:54 2017 +0700

----------------------------------------------------------------------
 .../Flexible/Core/Processors/QueryNodeProcessorImpl.cs             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/332b24c4/src/Lucene.Net.QueryParser/Flexible/Core/Processors/QueryNodeProcessorImpl.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Processors/QueryNodeProcessorImpl.cs
b/src/Lucene.Net.QueryParser/Flexible/Core/Processors/QueryNodeProcessorImpl.cs
index feb3d26..e7b678a 100644
--- a/src/Lucene.Net.QueryParser/Flexible/Core/Processors/QueryNodeProcessorImpl.cs
+++ b/src/Lucene.Net.QueryParser/Flexible/Core/Processors/QueryNodeProcessorImpl.cs
@@ -119,7 +119,7 @@ namespace Lucene.Net.QueryParsers.Flexible.Core.Processors
 
                         if (child2 == null)
                         {
-                            throw new NullReferenceException();
+                            throw new NullReferenceException(); // LUCENENET TODO: Change
to ArgumentException ?
 
                         }
 


Mime
View raw message