lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [06/15] lucenenet git commit: Lucene.Net.QueryParser.ComplexPhrase.ComplexPhraseQueryParser.ComplexPhraseQuery.AddComplexPhraseClause() refactor: changed parameter from List<T> to IList<T>
Date Wed, 01 Feb 2017 05:19:05 GMT
Lucene.Net.QueryParser.ComplexPhrase.ComplexPhraseQueryParser.ComplexPhraseQuery.AddComplexPhraseClause()
refactor: changed parameter from List<T> to IList<T>


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

Branch: refs/heads/api-work
Commit: 48d6cd54482fe518b3f89f4c412a5151ff22680f
Parents: 9f9c1a2
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Feb 1 09:59:26 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Feb 1 09:59:26 2017 +0700

----------------------------------------------------------------------
 .../ComplexPhrase/ComplexPhraseQueryParser.cs                    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/48d6cd54/src/Lucene.Net.QueryParser/ComplexPhrase/ComplexPhraseQueryParser.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.QueryParser/ComplexPhrase/ComplexPhraseQueryParser.cs b/src/Lucene.Net.QueryParser/ComplexPhrase/ComplexPhraseQueryParser.cs
index 2f25390..ebf32ca 100644
--- a/src/Lucene.Net.QueryParser/ComplexPhrase/ComplexPhraseQueryParser.cs
+++ b/src/Lucene.Net.QueryParser/ComplexPhrase/ComplexPhraseQueryParser.cs
@@ -47,7 +47,7 @@ namespace Lucene.Net.QueryParsers.ComplexPhrase
     /// status
     /// </para>
     /// </summary>
-    public class ComplexPhraseQueryParser : Classic.QueryParser
+    public class ComplexPhraseQueryParser : QueryParser
     {
         private List<ComplexPhraseQuery> complexPhrases = null;
 
@@ -356,7 +356,7 @@ namespace Lucene.Net.QueryParsers.ComplexPhrase
                 return snot;
             }
 
-            private void AddComplexPhraseClause(List<SpanQuery> spanClauses, BooleanQuery
qc)
+            private void AddComplexPhraseClause(IList<SpanQuery> spanClauses, BooleanQuery
qc)
             {
                 List<SpanQuery> ors = new List<SpanQuery>();
                 List<SpanQuery> nots = new List<SpanQuery>();


Mime
View raw message