lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject lucenenet git commit: Using the proper Equals
Date Mon, 09 Feb 2015 20:17:11 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master 71874969c -> 36f11ea7b


Using the proper Equals


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

Branch: refs/heads/master
Commit: 36f11ea7b33200b4c3dab2570975ec0fa450c04f
Parents: 7187496
Author: Itamar Syn-Hershko <itamar@code972.com>
Authored: Mon Feb 9 22:16:51 2015 +0200
Committer: Itamar Syn-Hershko <itamar@code972.com>
Committed: Mon Feb 9 22:16:51 2015 +0200

----------------------------------------------------------------------
 src/Lucene.Net.Queries/CommonTermsQuery.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/36f11ea7/src/Lucene.Net.Queries/CommonTermsQuery.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Queries/CommonTermsQuery.cs b/src/Lucene.Net.Queries/CommonTermsQuery.cs
index a31f248..a085276 100644
--- a/src/Lucene.Net.Queries/CommonTermsQuery.cs
+++ b/src/Lucene.Net.Queries/CommonTermsQuery.cs
@@ -458,7 +458,7 @@ namespace Lucene.Net.Queries
                     return false;
                 }
             }
-            else if (!terms.Equals(other.terms))
+            else if (!terms.SequenceEqual(other.terms))
             {
                 return false;
             }


Mime
View raw message