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:21 UTC

[avro] branch branch-1.11 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 branch-1.11
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/branch-1.11 by this push:
     new a057bb1  AVRO-3367 Remove unnecessary suppression of CA1307 (#1518)
a057bb1 is described below

commit a057bb1e49b9a72b8e11ba1da37400753a8c863e
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>
    (cherry picked from commit 0cbfb17d49186348a85cc2afc19c6b940da4aad1)
---
 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/>