You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2021/02/04 22:16:14 UTC
[lucenenet] 03/04: BUG:
Lucene.Net.Tests.Facet.Taxonomy.TestTaxonomyFacetSumValueSource.ValueSourceAnonymousInnerClassHelper:
Completed implementation of GetHashCode() (#259)
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 26f0127615d1c49b61f16b0bfcaecd461de332a8
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Thu Feb 4 18:53:55 2021 +0700
BUG: Lucene.Net.Tests.Facet.Taxonomy.TestTaxonomyFacetSumValueSource.ValueSourceAnonymousInnerClassHelper: Completed implementation of GetHashCode() (#259)
---
src/Lucene.Net.Tests.Facet/Taxonomy/TestTaxonomyFacetSumValueSource.cs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/Lucene.Net.Tests.Facet/Taxonomy/TestTaxonomyFacetSumValueSource.cs b/src/Lucene.Net.Tests.Facet/Taxonomy/TestTaxonomyFacetSumValueSource.cs
index 2e95b28..2f5fba1 100644
--- a/src/Lucene.Net.Tests.Facet/Taxonomy/TestTaxonomyFacetSumValueSource.cs
+++ b/src/Lucene.Net.Tests.Facet/Taxonomy/TestTaxonomyFacetSumValueSource.cs
@@ -5,6 +5,7 @@ using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
+using System.Runtime.CompilerServices;
using Assert = Lucene.Net.TestFramework.Assert;
using Console = Lucene.Net.Util.SystemConsole;
@@ -423,7 +424,7 @@ namespace Lucene.Net.Facet.Taxonomy
}
public override int GetHashCode()
{
- throw new NotImplementedException();
+ return RuntimeHelpers.GetHashCode(this);
}
public override string GetDescription()