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/01/30 20:24:04 UTC

[avro] branch branch-1.11 updated: AVRO-3326 Updated brace location on constructors (#1477)

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 4b5c9b1  AVRO-3326 Updated brace location on constructors (#1477)
4b5c9b1 is described below

commit 4b5c9b11a6355ed512a377999562dee958b62d26
Author: Kyle Schoonover <ky...@minmaxcorp.com>
AuthorDate: Sun Jan 30 12:23:35 2022 -0800

    AVRO-3326 Updated brace location on constructors (#1477)
    
    Co-authored-by: Kyle T. Schoonover <Ky...@nordstrom.com>
    (cherry picked from commit fadf29e734bbe2774b21cbabd711dc71bccc1008)
---
 lang/csharp/src/apache/main/AvroDecimal.cs | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/lang/csharp/src/apache/main/AvroDecimal.cs b/lang/csharp/src/apache/main/AvroDecimal.cs
index 5814b9b..b05c433 100644
--- a/lang/csharp/src/apache/main/AvroDecimal.cs
+++ b/lang/csharp/src/apache/main/AvroDecimal.cs
@@ -73,28 +73,36 @@ namespace Avro
         /// </summary>
         /// <param name="value">The int value.</param>
         public AvroDecimal(int value)
-            : this(new BigInteger(value), 0) { }
+            : this(new BigInteger(value), 0)
+        {
+        }
 
         /// <summary>
         /// Initializes a new instance of the <see cref="AvroDecimal"/> class from a given long.
         /// </summary>
         /// <param name="value">The long value.</param>
         public AvroDecimal(long value)
-            : this(new BigInteger(value), 0) { }
+            : this(new BigInteger(value), 0)
+        {
+        }
 
         /// <summary>
         /// Initializes a new instance of the <see cref="AvroDecimal"/> class from a given unsigned int.
         /// </summary>
         /// <param name="value">The unsigned int value.</param>
         public AvroDecimal(uint value)
-            : this(new BigInteger(value), 0) { }
+            : this(new BigInteger(value), 0)
+        {
+        }
 
         /// <summary>
         /// Initializes a new instance of the <see cref="AvroDecimal"/> class from a given unsigned long.
         /// </summary>
         /// <param name="value">The unsigned long value.</param>
         public AvroDecimal(ulong value)
-            : this(new BigInteger(value), 0) { }
+            : this(new BigInteger(value), 0)
+        {
+        }
 
         /// <summary>
         /// Initializes a new instance of the <see cref="AvroDecimal"/> class from a given <see cref="BigInteger"/>