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 <[email protected]>
Authored: Thu Mar 30 08:03:16 2017 +0700
Committer: Shad Storhaug <[email protected]>
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;
             }

Reply via email to