Lucene.Net.Facet.FacetResult refactor: Renamed parameter _other > other in Equals method
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/fc2eef3c Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/fc2eef3c Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/fc2eef3c Branch: refs/heads/api-work Commit: fc2eef3cb24752e7161c931f2b1eec1103af2770 Parents: e4657fb Author: Shad Storhaug <[email protected]> Authored: Tue Jan 31 16:23:20 2017 +0700 Committer: Shad Storhaug <[email protected]> Committed: Tue Jan 31 16:23:20 2017 +0700 ---------------------------------------------------------------------- src/Lucene.Net.Facet/FacetResult.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucenenet/blob/fc2eef3c/src/Lucene.Net.Facet/FacetResult.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.Facet/FacetResult.cs b/src/Lucene.Net.Facet/FacetResult.cs index 2c6fa18..09beec4 100644 --- a/src/Lucene.Net.Facet/FacetResult.cs +++ b/src/Lucene.Net.Facet/FacetResult.cs @@ -118,14 +118,14 @@ namespace Lucene.Net.Facet return sb.ToString(); } - public override bool Equals(object _other) + public override bool Equals(object other) { - if ((_other is FacetResult) == false) + if ((other is FacetResult) == false) { return false; } - FacetResult other = (FacetResult)_other; - return Value.Equals(other.Value) && ChildCount == other.ChildCount && Arrays.Equals(LabelValues, other.LabelValues); + FacetResult other2 = (FacetResult)other; + return Value.Equals(other2.Value) && ChildCount == other2.ChildCount && Arrays.Equals(LabelValues, other2.LabelValues); } public override int GetHashCode()
