This is an automated email from the ASF dual-hosted git repository. nightowl888 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit bb657ddd1f2059514c8dedaad687cce03a466233 Author: Shad Storhaug <[email protected]> AuthorDate: Mon Dec 16 07:08:45 2019 +0700 BUG: Lucene.Net.Util.Automaton.DaciukMihovAutomatonBuilder.State.Equals(): Fixed comparison to use Arrays.Equals --- src/Lucene.Net/Util/Automaton/DaciukMihovAutomatonBuilder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Lucene.Net/Util/Automaton/DaciukMihovAutomatonBuilder.cs b/src/Lucene.Net/Util/Automaton/DaciukMihovAutomatonBuilder.cs index 5602c53..681c78b 100644 --- a/src/Lucene.Net/Util/Automaton/DaciukMihovAutomatonBuilder.cs +++ b/src/Lucene.Net/Util/Automaton/DaciukMihovAutomatonBuilder.cs @@ -85,7 +85,7 @@ namespace Lucene.Net.Util.Automaton public override bool Equals(object obj) { State other = (State)obj; - return is_final == other.is_final && Array.Equals(this.labels, other.labels) && ReferenceEquals(this.states, other.states); + return is_final == other.is_final && Arrays.Equals(this.labels, other.labels) && ReferenceEquals(this.states, other.states); } /// <summary>
