lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [18/50] lucenenet git commit: Lucene.Net.Core.Search.FuzzyTermsEnum: Added TODO
Date Thu, 30 Mar 2017 18:00:13 GMT
Lucene.Net.Core.Search.FuzzyTermsEnum: Added TODO


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

Branch: refs/heads/api-work
Commit: 3ffcd7f64ad4d57aee568815fcfb99872f1aa864
Parents: 595697e
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Thu Mar 30 08:03:16 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Thu Mar 30 09:12:31 2017 +0700

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


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/3ffcd7f6/src/Lucene.Net.Core/Search/FuzzyTermsEnum.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Search/FuzzyTermsEnum.cs b/src/Lucene.Net.Core/Search/FuzzyTermsEnum.cs
index 7c000a4..7159894 100644
--- a/src/Lucene.Net.Core/Search/FuzzyTermsEnum.cs
+++ b/src/Lucene.Net.Core/Search/FuzzyTermsEnum.cs
@@ -484,9 +484,10 @@ namespace Lucene.Net.Search
         /// </summary>
         public sealed class LevenshteinAutomataAttribute : Attribute, ILevenshteinAutomataAttribute
         {
-            private readonly IList<CompiledAutomaton> automata = new List<CompiledAutomaton>();
+            // LUCENENET NOTE: Must use EquatableList for Equals and GetHashCode()
+            private readonly IList<CompiledAutomaton> automata = new EquatableList<CompiledAutomaton>();
 
-            public IList<CompiledAutomaton> Automata()
+            public IList<CompiledAutomaton> Automata() // LUCENENT TODO: API make property
             {
                 return automata;
             }


Mime
View raw message