You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by mg...@apache.org on 2022/02/04 09:34:04 UTC
[avro] branch master updated: AVRO-3367 Remove unnecessary suppression of CA1307 (#1518)
This is an automated email from the ASF dual-hosted git repository.
mgrigorov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git
The following commit(s) were added to refs/heads/master by this push:
new 0cbfb17 AVRO-3367 Remove unnecessary suppression of CA1307 (#1518)
0cbfb17 is described below
commit 0cbfb17d49186348a85cc2afc19c6b940da4aad1
Author: Kyle Schoonover <ky...@minmaxcorp.com>
AuthorDate: Fri Feb 4 01:33:56 2022 -0800
AVRO-3367 Remove unnecessary suppression of CA1307 (#1518)
* AVRO-3360 Updated XML documentation
* Revert "AVRO-3360 Updated XML documentation"
This reverts commit b8601c072a5083380d30b580804dd0908b8cf4cc.
* AVRO-3367 Remove unnecessary suppression of CA1307
Co-authored-by: Kyle T. Schoonover <Ky...@nordstrom.com>
---
lang/csharp/src/apache/main/Generic/GenericEnum.cs | 2 --
1 file changed, 2 deletions(-)
diff --git a/lang/csharp/src/apache/main/Generic/GenericEnum.cs b/lang/csharp/src/apache/main/Generic/GenericEnum.cs
index c646a71..db58bb1 100644
--- a/lang/csharp/src/apache/main/Generic/GenericEnum.cs
+++ b/lang/csharp/src/apache/main/Generic/GenericEnum.cs
@@ -79,9 +79,7 @@ namespace Avro.Generic
/// <inheritdoc/>
public override int GetHashCode()
{
-#pragma warning disable CA1307 // Specify StringComparison
return 17 * Value.GetHashCode();
-#pragma warning restore CA1307 // Specify StringComparison
}
/// <inheritdoc/>