Skip to content

Commit

Permalink
remove ^M from two files
Browse files Browse the repository at this point in the history
  • Loading branch information
kensou97 authored and nielsbasjes committed Jan 28, 2024
1 parent 61df187 commit bb5ccc7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions lang/csharp/src/apache/ipc/Responder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,14 @@ public IList<MemoryStream> Respond(IList<MemoryStream> buffers,
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;
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions lang/csharp/src/apache/ipc/Specific/SpecificRequestor.cs
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -87,8 +87,8 @@ public override object ReadResponse(Schema writer, Schema reader, Decoder decode

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;
Expand Down

0 comments on commit bb5ccc7

Please sign in to comment.