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:40 UTC
[avro] branch master 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 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 bddc960 AVRO-3355 Fix order of access modifier (#1506)
bddc960 is described below
commit bddc96095089b95d3e527a8e7f03550a28acc236
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>
---
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: