This is an automated email from the ASF dual-hosted git repository.

nielsbasjes pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/main by this push:
     new bb5ccc70e remove ^M from two files
bb5ccc70e is described below

commit bb5ccc70edf4a8ca438ee5360b25be60d13479c5
Author: zwenkang <[email protected]>
AuthorDate: Sat Jan 27 00:20:55 2024 +0800

    remove ^M from two files
---
 lang/csharp/src/apache/ipc/Responder.cs                  | 16 ++++++++--------
 lang/csharp/src/apache/ipc/Specific/SpecificRequestor.cs |  6 +++---
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/lang/csharp/src/apache/ipc/Responder.cs 
b/lang/csharp/src/apache/ipc/Responder.cs
index 875977462..10c40670a 100644
--- a/lang/csharp/src/apache/ipc/Responder.cs
+++ b/lang/csharp/src/apache/ipc/Responder.cs
@@ -181,14 +181,14 @@ namespace Avro.ipc
                     WriteResponse(m.Response, response, output);
                 else
                 {
-                    try 
-                    {
-                        WriteError(m.SupportedErrors, error, output);
-                    } 
-                    catch (Exception)
-                    {    
-                        // Presumably no match on the exception, throw the 
original
-                        throw error;
+                    try 
+                    {
+                        WriteError(m.SupportedErrors, error, output);
+                    } 
+                    catch (Exception)
+                    {    
+                        // Presumably no match on the exception, throw the 
original
+                        throw error;
                     }
                 }
             }
diff --git a/lang/csharp/src/apache/ipc/Specific/SpecificRequestor.cs 
b/lang/csharp/src/apache/ipc/Specific/SpecificRequestor.cs
index b14ceff4f..4ef8916d9 100644
--- a/lang/csharp/src/apache/ipc/Specific/SpecificRequestor.cs
+++ b/lang/csharp/src/apache/ipc/Specific/SpecificRequestor.cs
@@ -1,4 +1,4 @@
-/**
+/**
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -87,8 +87,8 @@ namespace Avro.ipc.Specific
 
         public override Exception ReadError(Schema writer, Schema reader, 
Decoder decoder)
         {
-            var response = new SpecificReader<object>(writer, 
reader).Read(null, decoder);
-
+            var response = new SpecificReader<object>(writer, 
reader).Read(null, decoder);
+
             var error = response as Exception;
             if(error != null)
                 return error;

Reply via email to