lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [12/58] lucenenet git commit: Fixed infinite recursion bug in SpansQueryTreeBuilder
Date Tue, 06 Dec 2016 15:11:47 GMT
Fixed infinite recursion bug in SpansQueryTreeBuilder


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

Branch: refs/heads/master
Commit: 94f22c1c0fbea99e300bc1e8ef7148d725326248
Parents: c83be6b
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Mon Nov 28 22:22:54 2016 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Mon Nov 28 22:22:54 2016 +0700

----------------------------------------------------------------------
 .../Flexible/Spans/SpansQueryTreeBuilder.cs                      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/94f22c1c/src/Lucene.Net.Tests.QueryParser/Flexible/Spans/SpansQueryTreeBuilder.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.QueryParser/Flexible/Spans/SpansQueryTreeBuilder.cs b/src/Lucene.Net.Tests.QueryParser/Flexible/Spans/SpansQueryTreeBuilder.cs
index 8810367..31d94db 100644
--- a/src/Lucene.Net.Tests.QueryParser/Flexible/Spans/SpansQueryTreeBuilder.cs
+++ b/src/Lucene.Net.Tests.QueryParser/Flexible/Spans/SpansQueryTreeBuilder.cs
@@ -36,9 +36,9 @@ namespace Lucene.Net.QueryParsers.Flexible.Spans
         /// <summary>
         /// LUCENENET specific overload for supporting IQueryBuilder
         /// </summary>
-        public override object Build(IQueryNode queryNode)
+        public override object Build(IQueryNode queryTree)
         {
-            return Build(queryNode);
+            return (Query)base.Build(queryTree);
         }
     }
 }


Mime
View raw message