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:16:26 UTC
[avro] branch master updated: AVRO-3357 marked properties readonly (#1508)
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 ef1efc2 AVRO-3357 marked properties readonly (#1508)
ef1efc2 is described below
commit ef1efc25c47e2a437c4f2d4475da9d2551d56d8d
Author: Kyle Schoonover <ky...@minmaxcorp.com>
AuthorDate: Fri Feb 4 01:16:18 2022 -0800
AVRO-3357 marked properties readonly (#1508)
Co-authored-by: Kyle T. Schoonover <Ky...@nordstrom.com>
---
lang/csharp/src/apache/main/File/DataFileReader.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lang/csharp/src/apache/main/File/DataFileReader.cs b/lang/csharp/src/apache/main/File/DataFileReader.cs
index a9033a6..77bfd8a 100644
--- a/lang/csharp/src/apache/main/File/DataFileReader.cs
+++ b/lang/csharp/src/apache/main/File/DataFileReader.cs
@@ -55,8 +55,8 @@ namespace Avro.File
private byte[] _syncBuffer;
private long _blockStart;
private Stream _stream;
- private bool _leaveOpen;
- private Schema _readerSchema;
+ private readonly bool _leaveOpen;
+ private readonly Schema _readerSchema;
private readonly CreateDatumReader _datumReaderFactory;
/// <summary>