martin-g commented on a change in pull request #1495:
URL: https://github.com/apache/avro/pull/1495#discussion_r796450596



##########
File path: lang/csharp/src/apache/main/File/DataFileConstants.cs
##########
@@ -21,9 +21,6 @@ namespace Avro.File
     /// <summary>
     /// Constants used in data files.
     /// </summary>
-    [System.Diagnostics.CodeAnalysis.SuppressMessage("Design",
-        "CA1052:Static holder types should be Static or NotInheritable",
-        Justification = "Maintain public API")]

Review comment:
       Is this change related to the `Magic` constant ?

##########
File path: lang/csharp/src/apache/main/File/DataFileConstants.cs
##########
@@ -64,10 +61,13 @@ public class DataFileConstants
         /// <summary>
         /// Magic bytes at the beginning of an Avro data file.
         /// </summary>
-        public static byte[] Magic = { (byte)'O',
-                                       (byte)'b',
-                                       (byte)'j',
-                                       Version };
+        public static readonly byte[] Magic =

Review comment:
       The looks like an API change but I guess no one is supposed to change 
the magic bytes




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to