lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [11/50] lucenenet git commit: Lucene.Net.Core.Search.BooleanQuery: Replaced ValueList<T> with EquatableList<T>
Date Thu, 30 Mar 2017 18:00:06 GMT
Lucene.Net.Core.Search.BooleanQuery: Replaced ValueList<T> with EquatableList<T>


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

Branch: refs/heads/api-work
Commit: b3d6ef8ca7430b26831ee9eb4aa87b41de4c9cef
Parents: aa3a11a
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Mar 29 20:48:32 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Thu Mar 30 09:12:29 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Core/Search/BooleanQuery.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/b3d6ef8c/src/Lucene.Net.Core/Search/BooleanQuery.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Search/BooleanQuery.cs b/src/Lucene.Net.Core/Search/BooleanQuery.cs
index 3fca2fc..9d3862b 100644
--- a/src/Lucene.Net.Core/Search/BooleanQuery.cs
+++ b/src/Lucene.Net.Core/Search/BooleanQuery.cs
@@ -80,7 +80,7 @@ namespace Lucene.Net.Search
             }
         }
 
-        private ValueList<BooleanClause> clauses = new ValueList<BooleanClause>();
+        private EquatableList<BooleanClause> clauses = new EquatableList<BooleanClause>();
         private readonly bool disableCoord;
 
         /// <summary>
@@ -585,7 +585,7 @@ namespace Lucene.Net.Search
         public override object Clone()
         {
             BooleanQuery clone = (BooleanQuery)base.Clone();
-            clone.clauses = (ValueList<BooleanClause>)this.clauses.Clone();
+            clone.clauses = (EquatableList<BooleanClause>)this.clauses.Clone();
             return clone;
         }
 


Mime
View raw message