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:10:56 UTC

[avro] branch branch-1.11 updated: AVRO-3355 Fix order of access modifier (#1506)

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 b2085e1  AVRO-3355 Fix order of access modifier (#1506)
b2085e1 is described below

commit b2085e1fba2fb40a14116d9207030b3285f45f26
Author: Kyle Schoonover <ky...@minmaxcorp.com>
AuthorDate: Fri Feb 4 01:10:34 2022 -0800

    AVRO-3355 Fix order of access modifier (#1506)
    
    Co-authored-by: Kyle T. Schoonover <Ky...@nordstrom.com>
    (cherry picked from commit bddc96095089b95d3e527a8e7f03550a28acc236)
---
 lang/csharp/src/apache/main/File/Codec.cs | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/lang/csharp/src/apache/main/File/Codec.cs b/lang/csharp/src/apache/main/File/Codec.cs
index 9aa7de4..3aab184 100644
--- a/lang/csharp/src/apache/main/File/Codec.cs
+++ b/lang/csharp/src/apache/main/File/Codec.cs
@@ -54,14 +54,14 @@ namespace Avro.File
         {
             return Decompress(compressedData, compressedData.Length);
         }
-        
+
         /// <summary>
         /// Decompress data using implemented codec
         /// </summary>
         /// <param name="compressedData">The buffer holding data to decompress.</param>
         /// <param name="length">The actual length of bytes to decompress from the buffer.</param>
         /// <returns>A byte array holding the decompressed data.</returns>
-        abstract public byte[] Decompress(byte[] compressedData, int length);
+        public abstract byte[] Decompress(byte[] compressedData, int length);
 
         /// <summary>
         /// Name of this codec type.
@@ -110,6 +110,9 @@ namespace Avro.File
         /// <param name="codecMetaString">The codec string</param>
         public delegate Codec CodecResolver(string codecMetaString);
 
+        /// <summary>
+        /// The codec resolvers
+        /// </summary>
         private static readonly List<CodecResolver> _codecResolvers = new List<CodecResolver>();
 
         /// <summary>
@@ -155,7 +158,7 @@ namespace Avro.File
                     return candidateCodec;
                 }
             }
-            
+
             switch (codecType)
             {
                 case DataFileConstants.DeflateCodec: